From e3a91b0968895514f65ef29420eeeec3758c4bc6 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 26 Sep 2004 03:15:46 +0000 Subject: [PATCH] BROKEN on 5.x: Broken by changes to make(1) Approved by: portmgr (self) --- math/superlu/Makefile | 8 +++++++- 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 + +.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 +.include 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 + +.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 +.include