summaryrefslogtreecommitdiffstats
path: root/math/eispack
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-09-28 10:49:21 +0000
committerasami <asami@FreeBSD.org>1998-09-28 10:49:21 +0000
commit3acc58bd0f6ed937b299e7551b62f65cf5cf62d7 (patch)
treecf816275ceba49e177db0bb2f97302dfe8037731 /math/eispack
parent398098f7a2685d628fc2e9ab3f6fa6cfb80f5cf0 (diff)
downloadFreeBSD-ports-3acc58bd0f6ed937b299e7551b62f65cf5cf62d7.zip
FreeBSD-ports-3acc58bd0f6ed937b299e7551b62f65cf5cf62d7.tar.gz
It's not a good idea to use RUN_DEPENDS on shared libs. Change it to
LIB_DEPENDS for now; if you *really* have to do this, at least RUN_DEPENDS on the *.so link so it will work for both a.out and ELF. While I'm here, create the *.so link explicitly for the a.out case.
Diffstat (limited to 'math/eispack')
-rw-r--r--math/eispack/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/math/eispack/Makefile b/math/eispack/Makefile
index 2b64c65..9a9b1bc 100644
--- a/math/eispack/Makefile
+++ b/math/eispack/Makefile
@@ -3,7 +3,7 @@
# Date created: 31 October 1994
# Whom: ljo
#
-# $Id: Makefile,v 1.14 1998/07/07 19:21:06 scrappy Exp $
+# $Id: Makefile,v 1.15 1998/09/27 05:39:33 steve Exp $
#
DISTNAME= eispack
@@ -15,7 +15,7 @@ MASTER_SITES= ftp://netlib.bell-labs.com/netlib/eispack/ \
DIST_SUBDIR= ${DISTNAME}
-RUN_DEPENDS= ${PREFIX}/lib/libblas.so.1:${PORTSDIR}/math/blas
+LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas
EXTRACT_CMD= ${SCRIPTDIR}/uncomp
EXTRACT_SUFX= .gz
@@ -44,5 +44,8 @@ pre-extract:
post-install:
${LDCONFIG} -m ${PREFIX}/lib
+ if [ "${PORTOBJFORMAT}" = "aout" ]; then \
+ ${LN} -sf libeispack.so.1.0 ${PREFIX}/lib/libeispack.so; \
+ fi
.include <bsd.port.mk>
OpenPOWER on IntegriCloud