1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

Create .so symlink in a.out case. While I'm here, properly add environment

to ldconfig command line.
This commit is contained in:
Satoshi Asami 1998-10-09 03:36:39 +00:00
parent 11dc37ec98
commit cce2cc64d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13770
2 changed files with 10 additions and 4 deletions

View File

@ -3,7 +3,7 @@
# Date created: 31 October 1996 # Date created: 31 October 1996
# Whom: Pedro Giffuni S. # 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 DISTNAME= bihar
@ -31,6 +31,9 @@ post-install:
-${GZIP_CMD} ${GZIP} ${WRKSRC}/fft.doc -${GZIP_CMD} ${GZIP} ${WRKSRC}/fft.doc
${CP} $(WRKSRC)/fft.doc.gz $(PREFIX)/share/doc/fftpack/ ${CP} $(WRKSRC)/fft.doc.gz $(PREFIX)/share/doc/fftpack/
.endif .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> .include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
# Date created: 31 October 1996 # Date created: 31 October 1996
# Whom: Pedro Giffuni S. # 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 DISTNAME= bihar
@ -31,6 +31,9 @@ post-install:
-${GZIP_CMD} ${GZIP} ${WRKSRC}/fft.doc -${GZIP_CMD} ${GZIP} ${WRKSRC}/fft.doc
${CP} $(WRKSRC)/fft.doc.gz $(PREFIX)/share/doc/fftpack/ ${CP} $(WRKSRC)/fft.doc.gz $(PREFIX)/share/doc/fftpack/
.endif .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> .include <bsd.port.mk>