aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-09-28 18:49:21 +0800
committerasami <asami@FreeBSD.org>1998-09-28 18:49:21 +0800
commit3acc58bd0f6ed937b299e7551b62f65cf5cf62d7 (patch)
treecf816275ceba49e177db0bb2f97302dfe8037731 /math
parent398098f7a2685d628fc2e9ab3f6fa6cfb80f5cf0 (diff)
downloadfreebsd-ports-gnome-3acc58bd0f6ed937b299e7551b62f65cf5cf62d7.tar.gz
freebsd-ports-gnome-3acc58bd0f6ed937b299e7551b62f65cf5cf62d7.tar.zst
freebsd-ports-gnome-3acc58bd0f6ed937b299e7551b62f65cf5cf62d7.zip
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')
-rw-r--r--math/eispack/Makefile7
-rw-r--r--math/linpack/Makefile7
2 files changed, 10 insertions, 4 deletions
diff --git a/math/eispack/Makefile b/math/eispack/Makefile
index 2b64c65a9bce..9a9b1bca42c5 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>
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>