diff options
author | asami <asami@FreeBSD.org> | 1998-10-09 11:36:39 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-10-09 11:36:39 +0800 |
commit | fb480e8d01a31b6ca8ba23185933437f1ae20dcf (patch) | |
tree | 266d2193b6f546bb8f6416473c0002db6e1121b0 /math | |
parent | a8494184892e4ae67599911645c2a809f0abe235 (diff) | |
download | freebsd-ports-gnome-fb480e8d01a31b6ca8ba23185933437f1ae20dcf.tar.gz freebsd-ports-gnome-fb480e8d01a31b6ca8ba23185933437f1ae20dcf.tar.zst freebsd-ports-gnome-fb480e8d01a31b6ca8ba23185933437f1ae20dcf.zip |
Create .so symlink in a.out case. While I'm here, properly add environment
to ldconfig command line.
Diffstat (limited to 'math')
-rw-r--r-- | math/bihar/Makefile | 7 | ||||
-rw-r--r-- | math/fftpack/Makefile | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/math/bihar/Makefile b/math/bihar/Makefile index a85f1cabbd83..f96ae79d5ccf 100644 --- a/math/bihar/Makefile +++ b/math/bihar/Makefile @@ -3,7 +3,7 @@ # Date created: 31 October 1996 # Whom: Pedro Giffuni S. # -# $Id: Makefile,v 1.5 1997/11/16 09:48:03 fenner Exp $ +# $Id: Makefile,v 1.6 1997/11/19 01:41:27 asami Exp $ # DISTNAME= bihar @@ -31,6 +31,9 @@ post-install: -${GZIP_CMD} ${GZIP} ${WRKSRC}/fft.doc ${CP} $(WRKSRC)/fft.doc.gz $(PREFIX)/share/doc/fftpack/ .endif - ${LDCONFIG} -m ${PREFIX}/lib + if [ "${PORTOBJFORMAT}" = "aout" ]; then \ + ${LN} -sf libbihar.so.1 ${PREFIX}/lib/libbihar.so; \ + fi + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .include <bsd.port.mk> diff --git a/math/fftpack/Makefile b/math/fftpack/Makefile index a85f1cabbd83..f96ae79d5ccf 100644 --- a/math/fftpack/Makefile +++ b/math/fftpack/Makefile @@ -3,7 +3,7 @@ # Date created: 31 October 1996 # Whom: Pedro Giffuni S. # -# $Id: Makefile,v 1.5 1997/11/16 09:48:03 fenner Exp $ +# $Id: Makefile,v 1.6 1997/11/19 01:41:27 asami Exp $ # DISTNAME= bihar @@ -31,6 +31,9 @@ post-install: -${GZIP_CMD} ${GZIP} ${WRKSRC}/fft.doc ${CP} $(WRKSRC)/fft.doc.gz $(PREFIX)/share/doc/fftpack/ .endif - ${LDCONFIG} -m ${PREFIX}/lib + if [ "${PORTOBJFORMAT}" = "aout" ]; then \ + ${LN} -sf libbihar.so.1 ${PREFIX}/lib/libbihar.so; \ + fi + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .include <bsd.port.mk> |