diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-09-26 03:15:46 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-09-26 03:15:46 +0000 |
commit | e3a91b0968895514f65ef29420eeeec3758c4bc6 (patch) | |
tree | 8ddd9ad6576408dc5bdaf77ae791028d68b529ed /math | |
parent | 82f9e5ad5571ce54362c74935980b39d71601aeb (diff) | |
download | ports-e3a91b0968895514f65ef29420eeeec3758c4bc6.tar.gz ports-e3a91b0968895514f65ef29420eeeec3758c4bc6.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/superlu/Makefile | 8 | ||||
-rw-r--r-- | math/superlu_mt/Makefile | 8 |
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> |