summaryrefslogtreecommitdiff
path: root/science/PETSc
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-09-22 17:40:41 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-09-22 17:40:41 +0000
commit607fe7ab866b2dd2d18e099f5c68e718a3fad7a9 (patch)
treebe52eb04866ee01496b23257b0332af1712d318f /science/PETSc
parentmath/petiga: Add the xplanation to pkg-descr (diff)
Change 10 ports from net/mpich2 to net/mpich
mpich2 is the obsolete version 2.x, mpich is at the current version 3.x science/triqs science/PETSc math/py-slepc4py math/slepc math/py-petsc4py math/petiga math/sundials cad/elmerfem math/blocksolve95 math/spooles
Notes
Notes: svn path=/head/; revision=480424
Diffstat (limited to 'science/PETSc')
-rw-r--r--science/PETSc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/science/PETSc/Makefile b/science/PETSc/Makefile
index e00a5a338e56..76d91cb3f5e0 100644
--- a/science/PETSc/Makefile
+++ b/science/PETSc/Makefile
@@ -3,6 +3,7 @@
PORTNAME= PETSc
DISTVERSION= 3.9.4
+PORTREVISION= 1
CATEGORIES= science devel
MASTER_SITES= http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/
DISTNAME= ${PORTNAME:tl}-${DISTVERSION}
@@ -18,7 +19,7 @@ BROKEN_armv6= fails to build: MPI compiler wrappers do not work. See http://www
BROKEN_armv7= fails to build: MPI compiler wrappers do not work. See http://www.mcs.anl.gov/petsc/documentation/faq.html#mpi-compilers
BROKEN_powerpc64= fails to build: MPI compiler wrappers do not work. See http://www.mcs.anl.gov/petsc/documentation/faq.html#mpi-compilers
-LIB_DEPENDS= libmpich.so:net/mpich2
+LIB_DEPENDS= libmpich.so:net/mpich
USES= blaslapack fortran gmake python:2.7 shebangfix
GNU_CONFIGURE= yes
@@ -33,6 +34,8 @@ USE_LDCONFIG= yes
TEST_TARGET= test
BINARY_ALIAS= python=${PYTHON_CMD}
+LDFLAGS+= ${LOCALBASE}/lib/libmpi.so
+
DATADIR= ${PREFIX}/share/${PORTNAME:tl}
PLIST_SUB= SHLIB=${DISTVERSION} SHL=${DISTVERSION:C/\.[0-9]$//}