diff options
author | jmz <jmz@FreeBSD.org> | 2005-10-15 06:08:23 +0800 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2005-10-15 06:08:23 +0800 |
commit | a26b0464db866ecab97e5ee06d9cf380aced5663 (patch) | |
tree | 9b3ce4b2b9ab1c2d4050b95a1848b2c85eb61470 /math | |
parent | fd3270fd244198a694fac70f315282bdbaffb504 (diff) | |
download | freebsd-ports-gnome-a26b0464db866ecab97e5ee06d9cf380aced5663.tar.gz freebsd-ports-gnome-a26b0464db866ecab97e5ee06d9cf380aced5663.tar.zst freebsd-ports-gnome-a26b0464db866ecab97e5ee06d9cf380aced5663.zip |
NOPROFILE -> NO_PROFILE (fix the build on FreebSD >= 6.0)
PR: ports/87429
Submitted by: Christopher Illies <christopher.illies@ki.se>
Diffstat (limited to 'math')
-rw-r--r-- | math/lapack/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/math/lapack/Makefile b/math/lapack/Makefile index 3418c31bb573..2e2fe946eb19 100644 --- a/math/lapack/Makefile +++ b/math/lapack/Makefile @@ -209,13 +209,17 @@ MANL= cbdsqr.l cgbbrd.l cgbcon.l cgbequ.l cgbmv.l cgbrfs.l cgbsv.l cgbsvx.l \ CONFIGURE_ENV+= OSVERSION=${OSVERSION} +.if ${OSVERSION} < 600000 && defined(NOPROFILE) +NO_PROFILE= true +.endif + pre-fetch: @${ECHO} "You can override FC and FFLAGS on the command line." .if !defined(ENABLE_TESTING) || ${ENABLE_TESTING} != "YES" @${ECHO} "Set ENABLE_TESTING to YES to enable testing and timing." .endif pre-install: -.if !defined(NOPROFILE) +.if !defined(NO_PROFILE) @${CAT} ${PKGDIR}/pkg-plist > ${PLIST} .else @${SED} -e /_p.a/d ${PKGDIR}/pkg-plist > ${PLIST} @@ -224,7 +228,7 @@ pre-install: do-install: ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas.* ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/SRC/liblapack.* ${PREFIX}/lib -.if !defined(NOPROFILE) +.if !defined(NO_PROFILE) ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas_p.a ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/SRC/liblapack_p.a ${PREFIX}/lib .endif |