diff options
author | asami <asami@FreeBSD.org> | 1998-09-28 18:49:21 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-09-28 18:49:21 +0800 |
commit | 3acc58bd0f6ed937b299e7551b62f65cf5cf62d7 (patch) | |
tree | cf816275ceba49e177db0bb2f97302dfe8037731 /math/linpack | |
parent | 398098f7a2685d628fc2e9ab3f6fa6cfb80f5cf0 (diff) | |
download | freebsd-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/linpack')
-rw-r--r-- | math/linpack/Makefile | 7 |
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> |