aboutsummaryrefslogtreecommitdiff
path: root/science/PETSc/Makefile
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/Makefile
parentbe88507da6f1e9f50bbfdb380959ca5a49dcf915 (diff)
downloadports-607fe7ab866b2dd2d18e099f5c68e718a3fad7a9.tar.gz
ports-607fe7ab866b2dd2d18e099f5c68e718a3fad7a9.zip
Notes
Diffstat (limited to 'science/PETSc/Makefile')
-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]$//}