Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2019 18:27:09 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499896 - head/science/sparta
Message-ID:  <201904241827.x3OIR9Mb007847@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904241827.x3OIR9Mb007847>