Teach bmake to support FreeBSD-6.
Reported by: Kris via pointyhat.
This commit is contained in:
parent
65b7ba124b
commit
a5211f3051
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123311
2 changed files with 14 additions and 3 deletions
|
@ -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
|
||||
|
|
10
math/petsc/files/patch-bmake::common::rules.shared.basic
Normal file
10
math/petsc/files/patch-bmake::common::rules.shared.basic
Normal file
|
@ -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
|
Loading…
Reference in a new issue