aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-09-26 11:15:46 +0800
committerkris <kris@FreeBSD.org>2004-09-26 11:15:46 +0800
commit5e04f302b2e5878a46ac8a71e730cea42710ac6d (patch)
tree84fef30f3d28b935bf19042a90878e292037314b /math
parentf40ed67e216eca4715c54f0b6489464b8bda2b97 (diff)
downloadfreebsd-ports-gnome-5e04f302b2e5878a46ac8a71e730cea42710ac6d.tar.gz
freebsd-ports-gnome-5e04f302b2e5878a46ac8a71e730cea42710ac6d.tar.zst
freebsd-ports-gnome-5e04f302b2e5878a46ac8a71e730cea42710ac6d.zip
BROKEN on 5.x: Broken by changes to make(1)
Approved by: portmgr (self)
Diffstat (limited to 'math')
-rw-r--r--math/superlu/Makefile8
-rw-r--r--math/superlu_mt/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/math/superlu/Makefile b/math/superlu/Makefile
index af40eaacbadb..c774a1b86712 100644
--- a/math/superlu/Makefile
+++ b/math/superlu/Makefile
@@ -28,6 +28,12 @@ ALL_TARGET= superlulib
BLAS_LIBS= ${LOCALBASE}/lib/libf77blas.a ${LOCALBASE}/lib/libatlas.a
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Broken by changes to make(1) on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's+%%BLAS_LIBS%%+${BLAS_LIBS}+' \
${WRKSRC}/make.inc
@@ -51,4 +57,4 @@ do-install:
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/superlu_ug.ps.gz ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/superlu_mt/Makefile b/math/superlu_mt/Makefile
index 66d232a330fa..41e7769bc022 100644
--- a/math/superlu_mt/Makefile
+++ b/math/superlu_mt/Makefile
@@ -28,6 +28,12 @@ ALL_TARGET= superlulib
BLAS_LIBS= ${LOCALBASE}/lib/libblas.a
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Broken by changes to make(1) on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's+%%BLAS_LIBS%%+${BLAS_LIBS}+ ; \
s+%%PTHREAD_CFLAGS%%+${PTHREAD_CFLAGS}+ ; \
@@ -45,4 +51,4 @@ do-install:
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/simax97.ps.gz ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>