svn commit: r499896 - head/science/sparta

Yuri Victorovich yuri at FreeBSD.org
Wed Apr 24 18:27:10 UTC 2019


Author: yuri
Date: Wed Apr 24 18:27:08 2019
New Revision: 499896
URL: https://svnweb.freebsd.org/changeset/ports/499896

Log:
  science/sparta: fix build with GCC-based architectures
  
  PR:		237537
  Submitted by:	pkubaj

Modified:
  head/science/sparta/Makefile

Modified: head/science/sparta/Makefile
==============================================================================
--- head/science/sparta/Makefile	Wed Apr 24 18:03:49 2019	(r499895)
+++ head/science/sparta/Makefile	Wed Apr 24 18:27:08 2019	(r499896)
@@ -13,7 +13,7 @@ LICENSE_FILE=	${WRKSRC}/../LICENSE
 
 BUILD_DEPENDS=	bash:shells/bash
 
-USES=		gmake localbase
+USES=		compiler:c++11-lang gmake localbase
 USE_GITHUB=	yes
 GH_TAGNAME=	16Apr2019
 
@@ -34,7 +34,7 @@ SERIAL_PLIST_FILES=		bin/spa_serial
 MPI_ALL_TARGET=			mpi
 MPI_PLIST_FILES=		bin/spa_mpi
 MPI_CXXFLAGS=			-I${LOCALBASE}/mpi/openmpi/include
-MPI_LDFLAGS=			${LOCALBASE}/mpi/openmpi/lib/libmpi.so -Wl,-rpath=${LOCALBASE}/mpi/openmpi/lib
+MPI_LDFLAGS=			${LOCALBASE}/mpi/openmpi/lib/libmpi.so ${LOCALBASE}/mpi/openmpi/lib/libmpi_cxx.so -Wl,-rpath=${LOCALBASE}/mpi/openmpi/lib
 MPI_LIB_DEPENDS=		libmpi.so:net/openmpi
 
 PORTSCOUT=	ignore # due to a special version tagging scheme that this project uses portscout fails to find new versions, watching their release page instead


More information about the svn-ports-head mailing list