diff options
author | steve <steve@FreeBSD.org> | 1998-09-27 20:13:16 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-09-27 20:13:16 +0000 |
commit | 32d174660a79cada92a38721149b27da2d09d927 (patch) | |
tree | 2eb0568567fde72064ff18eaed982b8145df5217 /math/lapack | |
parent | 37b11f108860fca099315a5bf772aa51eed5f864 (diff) | |
download | FreeBSD-ports-32d174660a79cada92a38721149b27da2d09d927.zip FreeBSD-ports-32d174660a79cada92a38721149b27da2d09d927.tar.gz |
Convert to ELF.
Diffstat (limited to 'math/lapack')
-rw-r--r-- | math/lapack/Makefile | 11 | ||||
-rw-r--r-- | math/lapack/pkg-plist | 10 |
2 files changed, 15 insertions, 6 deletions
diff --git a/math/lapack/Makefile b/math/lapack/Makefile index 567c9c0..caa193b 100644 --- a/math/lapack/Makefile +++ b/math/lapack/Makefile @@ -3,7 +3,7 @@ # Date created: 2 July 1994 # Whom: jmz # -# $Id: Makefile,v 1.7 1998/08/24 19:48:10 jmz Exp $ +# $Id: Makefile,v 1.8 1998/08/25 02:26:19 asami Exp $ # DISTNAME= LAPACK @@ -184,7 +184,14 @@ MANL= cgbmv.l cgemm.l cgemv.l cgerc.l cgeru.l chbmv.l chemm.l chemv.l \ do-install: ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas.* ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/SRC/liblapack.* ${PREFIX}/lib - ${LDCONFIG} -m ${PREFIX}/lib + if [ "${PORTOBJFORMAT}" = "elf" ]; then \ + ${LN} -sf libblas.so.2 ${PREFIX}/lib/libblas.so; \ + ${LN} -sf liblapack.so.2 ${PREFIX}/lib/liblapack.so; \ + else \ + ${LN} -sf libblas.so.2.0 ${PREFIX}/lib/libblas.so; \ + ${LN} -sf liblapack.so.2.0 ${PREFIX}/lib/liblapack.so; \ + fi + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib ${INSTALL_MAN} ${WRKDIR}/blas/man/manl/*.l ${PREFIX}/man/manl ${INSTALL_MAN} ${WRKDIR}/man/manl/*.l ${PREFIX}/man/manl diff --git a/math/lapack/pkg-plist b/math/lapack/pkg-plist index 547a4f4..b2bb954 100644 --- a/math/lapack/pkg-plist +++ b/math/lapack/pkg-plist @@ -1,6 +1,8 @@ lib/libblas.a -lib/libblas.so.2.0 +lib/libblas.so +lib/libblas.so.2 lib/liblapack.a -lib/liblapack.so.2.0 -@exec ldconfig -m %B -@unexec /sbin/ldconfig -R +lib/liblapack.so +lib/liblapack.so.2 +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R |