aboutsummaryrefslogtreecommitdiff
path: root/math/lapack
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-09-27 20:13:16 +0000
committerSteve Price <steve@FreeBSD.org>1998-09-27 20:13:16 +0000
commit7c46996f8a56a45975f8cacef49645b26cd5ad00 (patch)
tree6424f9fff7b7d35c0bf23c33e28cdb33a884bca8 /math/lapack
parent9c877a58ee09bf68861e6aee17bb0e49b4d23486 (diff)
downloadports-7c46996f8a56a45975f8cacef49645b26cd5ad00.tar.gz
ports-7c46996f8a56a45975f8cacef49645b26cd5ad00.zip
Notes
Diffstat (limited to 'math/lapack')
-rw-r--r--math/lapack/Makefile11
-rw-r--r--math/lapack/pkg-plist10
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