diff options
author | jmz <jmz@FreeBSD.org> | 2000-08-21 05:38:53 +0800 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2000-08-21 05:38:53 +0800 |
commit | 70a33d8f9907217485f64b9416be086779c62044 (patch) | |
tree | 96db8c0a8e98f3dd4755962f3845fb68ddfa8b3d /math | |
parent | 82d9e3f77abf82681761b0dbcc083e449462d104 (diff) | |
download | freebsd-ports-gnome-70a33d8f9907217485f64b9416be086779c62044.tar.gz freebsd-ports-gnome-70a33d8f9907217485f64b9416be086779c62044.tar.zst freebsd-ports-gnome-70a33d8f9907217485f64b9416be086779c62044.zip |
Add support for profiled libraries.
Submitted by: AMAKAWA Shuhei <sa264@cam.ac.uk>
Diffstat (limited to 'math')
-rw-r--r-- | math/lapack/Makefile | 11 | ||||
-rw-r--r-- | math/lapack/pkg-plist | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/math/lapack/Makefile b/math/lapack/Makefile index 297d86c93a75..9b996e9ebd1c 100644 --- a/math/lapack/Makefile +++ b/math/lapack/Makefile @@ -17,6 +17,7 @@ MAINTAINER= jmz@FreeBSD.org DIST_SUBDIR= lapack INSTALLS_SHLIB= yes +PLIST= ${WRKDIR}/PLIST MANCOMPRESSED= maybe MANL= cbdsqr.l cgbbrd.l cgbcon.l cgbequ.l cgbmv.l cgbrfs.l cgbsv.l cgbsvx.l \ @@ -210,10 +211,20 @@ pre-fetch: .if !defined(ENABLE_TESTING) || ${ENABLE_TESTING} != "YES" @${ECHO} "Set ENABLE_TESTING to YES to enable testing and timing." .endif +pre-install: +.if !defined(NOPROFILE) + @${CAT} ${PKGDIR}/PLIST > ${PLIST} +.else + @${SED} -e /_p.a/d ${PKGDIR}/PLIST > ${PLIST} +.endif do-install: ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas.* ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/SRC/liblapack.* ${PREFIX}/lib +.if !defined(NOPROFILE) + ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas_p.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/SRC/liblapack_p.a ${PREFIX}/lib +.endif .if ${PORTOBJFORMAT} == "elf" ${LN} -sf libblas.so.2 ${PREFIX}/lib/libblas.so ${LN} -sf liblapack.so.3 ${PREFIX}/lib/liblapack.so diff --git a/math/lapack/pkg-plist b/math/lapack/pkg-plist index 144915e86cc3..053b446e064c 100644 --- a/math/lapack/pkg-plist +++ b/math/lapack/pkg-plist @@ -1,6 +1,8 @@ lib/libblas.a lib/libblas.so lib/libblas.so.2 +lib/libblas_p.a lib/liblapack.a lib/liblapack.so lib/liblapack.so.3 +lib/liblapack_p.a |