aboutsummaryrefslogtreecommitdiffstats
path: root/math/lapack/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-09-28 04:13:16 +0800
committersteve <steve@FreeBSD.org>1998-09-28 04:13:16 +0800
commit32d174660a79cada92a38721149b27da2d09d927 (patch)
tree2eb0568567fde72064ff18eaed982b8145df5217 /math/lapack/Makefile
parent37b11f108860fca099315a5bf772aa51eed5f864 (diff)
downloadfreebsd-ports-gnome-32d174660a79cada92a38721149b27da2d09d927.tar.gz
freebsd-ports-gnome-32d174660a79cada92a38721149b27da2d09d927.tar.zst
freebsd-ports-gnome-32d174660a79cada92a38721149b27da2d09d927.zip
Convert to ELF.
Diffstat (limited to 'math/lapack/Makefile')
-rw-r--r--math/lapack/Makefile11
1 files changed, 9 insertions, 2 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