From cce2cc64d678ed40f985c01ad3a266c45f2b315c Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Fri, 9 Oct 1998 03:36:39 +0000 Subject: [PATCH] Create .so symlink in a.out case. While I'm here, properly add environment to ldconfig command line. --- math/bihar/Makefile | 7 +++++-- 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 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