aboutsummaryrefslogtreecommitdiff
path: root/science/PETSc/Makefile
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2019-07-01 19:47:39 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2019-07-01 19:47:39 +0000
commit991f4493faccdd803e02575f424a73aebeae98da (patch)
tree35a76448dacca296790e3b410f59a7438475422a /science/PETSc/Makefile
parent9832e6c2611c1391a8c94712bb9fc0c7222cf213 (diff)
downloadports-991f4493faccdd803e02575f424a73aebeae98da.tar.gz
ports-991f4493faccdd803e02575f424a73aebeae98da.zip
Notes
Diffstat (limited to 'science/PETSc/Makefile')
-rw-r--r--science/PETSc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/science/PETSc/Makefile b/science/PETSc/Makefile
index f0d41f5225ba..1e307dc88109 100644
--- a/science/PETSc/Makefile
+++ b/science/PETSc/Makefile
@@ -17,7 +17,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_aarch64= fails to build: MPI compiler wrappers do not work. See http://www.mcs.anl.gov/petsc/documentation/faq.html#mpi-compilers
BROKEN_armv6= fails to build: MPI compiler wrappers do not work. See http://www.mcs.anl.gov/petsc/documentation/faq.html#mpi-compilers
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/mpich
@@ -25,8 +24,10 @@ USES= blaslapack fortran gmake python:2.7 shebangfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-shared-libraries=1 \
--with-mpi-dir=${LOCALBASE} \
- CFLAGS="${CFLAGS} -msse2" CXXFLAGS="${CXXFLAGS} -msse2" CPPFLAGS="${CPPFLAGS}" \
+ ${CONFIGURE_ARG_${ARCH}} CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}" LIBS=""
+CONFIGURE_ARGS_amd64= CFLAGS="${CFLAGS} -msse2" CXXFLAGS="${CXXFLAGS} -msse2"
+CONFIGURE_ARGS_i386= CFLAGS="${CFLAGS} -msse2" CXXFLAGS="${CXXFLAGS} -msse2"
USE_XORG= x11
MAKEFILE= makefile
SHEBANG_FILES= lib/petsc/bin/*.py lib/petsc/bin/saws/SAWs.py lib/petsc/bin/saws/*.bash config/*.py