aboutsummaryrefslogtreecommitdiffstats
path: root/math/petsc
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2004-12-06 21:24:16 +0800
committerthierry <thierry@FreeBSD.org>2004-12-06 21:24:16 +0800
commiteb5171f8c287d6112fd848aa45ba5cd62146424f (patch)
tree315941c97c44ce749b27ff97a61f2ddee6d681be /math/petsc
parent6dd1a757f75a12b8ab6176bf3adc9b938a3b3297 (diff)
downloadfreebsd-ports-gnome-eb5171f8c287d6112fd848aa45ba5cd62146424f.tar.gz
freebsd-ports-gnome-eb5171f8c287d6112fd848aa45ba5cd62146424f.tar.zst
freebsd-ports-gnome-eb5171f8c287d6112fd848aa45ba5cd62146424f.zip
Teach bmake to support FreeBSD-6.
Reported by: Kris via pointyhat.
Diffstat (limited to 'math/petsc')
-rw-r--r--math/petsc/Makefile7
-rw-r--r--math/petsc/files/patch-bmake::common::rules.shared.basic10
2 files changed, 14 insertions, 3 deletions
diff --git a/math/petsc/Makefile b/math/petsc/Makefile
index abdad8819c91..dce7d735ae14 100644
--- a/math/petsc/Makefile
+++ b/math/petsc/Makefile
@@ -203,12 +203,13 @@ pre-everything::
@${ECHO_MSG}
pre-configure:
- @${REINPLACE_CMD} -e "s|AMD/Include|include/AMD|" \
- -e "s|AMD/Lib|${LOCALBASE}/lib|" \
+ @${RM} ${WRKSRC}/bmake/common/rules.shared.basic.orig \
+ ${WRKSRC}/bmake/common/variables.orig
+ @${REINPLACE_CMD} -e "s|AMD/Include|include/AMD|" \
+ -e "s|AMD/Lib|${LOCALBASE}/lib|" \
${WRKSRC}/python/PETSc/packages/Umfpack.py
post-install:
- @${RM} ${PREFIX}/${PFX}/bmake/common/variables.orig
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${PFX}/bin
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${PFX}/bin
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${PFX}/bmake
diff --git a/math/petsc/files/patch-bmake::common::rules.shared.basic b/math/petsc/files/patch-bmake::common::rules.shared.basic
new file mode 100644
index 000000000000..cc7a7623efa3
--- /dev/null
+++ b/math/petsc/files/patch-bmake::common::rules.shared.basic
@@ -0,0 +1,10 @@
+--- bmake/common/rules.shared.basic.orig Tue Nov 16 18:08:11 2004
++++ bmake/common/rules.shared.basic Mon Dec 6 12:13:46 2004
+@@ -10,6 +10,7 @@
+
+ shared_solaris2: shared_solaris
+
++shared_freebsd6: shared_freebsd
+ shared_freebsd5: shared_freebsd
+ shared_freebsd4: shared_freebsd
+ shared_freebsd3: shared_freebsd