science/sparta: fix build with GCC-based architectures

PR:		237537
Submitted by:	pkubaj
This commit is contained in:
Yuri Victorovich 2019-04-24 18:27:08 +00:00
parent 196e812dbd
commit a5d01b17a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=499896

View File

@ -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