summaryrefslogtreecommitdiff
path: root/math/linpack
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-09-28 10:49:21 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-09-28 10:49:21 +0000
commitc5646958b01a34ae217899526b39f932de4d49aa (patch)
tree3be725e9189f4d44f89460f4a09d607852dcd726 /math/linpack
parentRemove regexp support for tcl80jp. (diff)
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.
Notes
Notes: svn path=/head/; revision=13522
Diffstat (limited to 'math/linpack')
-rw-r--r--math/linpack/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/math/linpack/Makefile b/math/linpack/Makefile
index 490a89ed85a1..65a107ee54d0 100644
--- a/math/linpack/Makefile
+++ b/math/linpack/Makefile
@@ -3,7 +3,7 @@
# Date created: 31 October 1994
# Whom: ljo
#
-# $Id: Makefile,v 1.14 1998/07/07 19:21:11 scrappy Exp $
+# $Id: Makefile,v 1.15 1998/09/27 05:39:37 steve Exp $
#
DISTNAME= linpack
@@ -15,7 +15,7 @@ MASTER_SITES= ftp://netlib.bell-labs.com/netlib/linpack/ \
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
@@ -57,5 +57,8 @@ pre-extract:
post-install:
${LDCONFIG} -m ${PREFIX}/lib
+ if [ "${PORTOBJFORMAT}" = "aout" ]; then \
+ ${LN} -sf liblinpack.so.1.0 ${PREFIX}/lib/liblinpack.so; \
+ fi
.include <bsd.port.mk>