aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/lapack/Makefile8
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