diff options
author | Steve Price <steve@FreeBSD.org> | 1998-09-27 20:13:16 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-09-27 20:13:16 +0000 |
commit | 7c46996f8a56a45975f8cacef49645b26cd5ad00 (patch) | |
tree | 6424f9fff7b7d35c0bf23c33e28cdb33a884bca8 /math/lapack | |
parent | Did this ever build? :) Mark it broken until we figure out why. (diff) |
Convert to ELF.
Notes
Notes:
svn path=/head/; revision=13463
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 567c9c01694a..caa193bada9c 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 547a4f4f9ba4..b2bb954f0d66 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 |