diff options
-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> |