1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Make lib*.so links in a.out case.

This commit is contained in:
Satoshi Asami 1998-09-22 06:08:34 +00:00
parent 9c79ebb1b2
commit 9c13e1483f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13301
6 changed files with 90 additions and 6 deletions

View File

@ -3,7 +3,7 @@
# Date created: 5 January 1995 # Date created: 5 January 1995
# Whom: jmz # Whom: jmz
# #
# $Id: Makefile,v 1.44 1998/08/05 19:28:17 jmz Exp $ # $Id: Makefile,v 1.45 1998/09/21 00:03:21 steve Exp $
# #
DISTNAME= xc DISTNAME= xc
@ -60,6 +60,20 @@ pre-fetch:
pre-install: pre-install:
${MKDIR} /usr/X11R6 ${MKDIR} /usr/X11R6
post-install: post-install:
if [ "${PORTOBJFORMAT}" = "aout" ]; then \
for lib in PEX5 SM X11 XIE Xi Xmu Xt oldX; do \
${LN} -sf lib$${lib}.so.6.0 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in X11 Xaw Xtst; do \
${LN} -sf lib$${lib}.so.6.1 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in Xp; do \
${LN} -sf lib$${lib}.so.6.2 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in ICE Xext; do \
${LN} -sf lib$${lib}.so.6.3 ${PREFIX}/lib/lib$${lib}.so; \
done; \
fi
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
# Date created: 5 January 1995 # Date created: 5 January 1995
# Whom: jmz # Whom: jmz
# #
# $Id: Makefile,v 1.44 1998/08/05 19:28:17 jmz Exp $ # $Id: Makefile,v 1.45 1998/09/21 00:03:21 steve Exp $
# #
DISTNAME= xc DISTNAME= xc
@ -60,6 +60,20 @@ pre-fetch:
pre-install: pre-install:
${MKDIR} /usr/X11R6 ${MKDIR} /usr/X11R6
post-install: post-install:
if [ "${PORTOBJFORMAT}" = "aout" ]; then \
for lib in PEX5 SM X11 XIE Xi Xmu Xt oldX; do \
${LN} -sf lib$${lib}.so.6.0 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in X11 Xaw Xtst; do \
${LN} -sf lib$${lib}.so.6.1 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in Xp; do \
${LN} -sf lib$${lib}.so.6.2 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in ICE Xext; do \
${LN} -sf lib$${lib}.so.6.3 ${PREFIX}/lib/lib$${lib}.so; \
done; \
fi
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
# Date created: 5 January 1995 # Date created: 5 January 1995
# Whom: jmz # Whom: jmz
# #
# $Id: Makefile,v 1.44 1998/08/05 19:28:17 jmz Exp $ # $Id: Makefile,v 1.45 1998/09/21 00:03:21 steve Exp $
# #
DISTNAME= xc DISTNAME= xc
@ -60,6 +60,20 @@ pre-fetch:
pre-install: pre-install:
${MKDIR} /usr/X11R6 ${MKDIR} /usr/X11R6
post-install: post-install:
if [ "${PORTOBJFORMAT}" = "aout" ]; then \
for lib in PEX5 SM X11 XIE Xi Xmu Xt oldX; do \
${LN} -sf lib$${lib}.so.6.0 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in X11 Xaw Xtst; do \
${LN} -sf lib$${lib}.so.6.1 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in Xp; do \
${LN} -sf lib$${lib}.so.6.2 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in ICE Xext; do \
${LN} -sf lib$${lib}.so.6.3 ${PREFIX}/lib/lib$${lib}.so; \
done; \
fi
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
# Date created: 5 January 1995 # Date created: 5 January 1995
# Whom: jmz # Whom: jmz
# #
# $Id: Makefile,v 1.44 1998/08/05 19:28:17 jmz Exp $ # $Id: Makefile,v 1.45 1998/09/21 00:03:21 steve Exp $
# #
DISTNAME= xc DISTNAME= xc
@ -60,6 +60,20 @@ pre-fetch:
pre-install: pre-install:
${MKDIR} /usr/X11R6 ${MKDIR} /usr/X11R6
post-install: post-install:
if [ "${PORTOBJFORMAT}" = "aout" ]; then \
for lib in PEX5 SM X11 XIE Xi Xmu Xt oldX; do \
${LN} -sf lib$${lib}.so.6.0 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in X11 Xaw Xtst; do \
${LN} -sf lib$${lib}.so.6.1 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in Xp; do \
${LN} -sf lib$${lib}.so.6.2 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in ICE Xext; do \
${LN} -sf lib$${lib}.so.6.3 ${PREFIX}/lib/lib$${lib}.so; \
done; \
fi
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
# Date created: 5 January 1995 # Date created: 5 January 1995
# Whom: jmz # Whom: jmz
# #
# $Id: Makefile,v 1.44 1998/08/05 19:28:17 jmz Exp $ # $Id: Makefile,v 1.45 1998/09/21 00:03:21 steve Exp $
# #
DISTNAME= xc DISTNAME= xc
@ -60,6 +60,20 @@ pre-fetch:
pre-install: pre-install:
${MKDIR} /usr/X11R6 ${MKDIR} /usr/X11R6
post-install: post-install:
if [ "${PORTOBJFORMAT}" = "aout" ]; then \
for lib in PEX5 SM X11 XIE Xi Xmu Xt oldX; do \
${LN} -sf lib$${lib}.so.6.0 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in X11 Xaw Xtst; do \
${LN} -sf lib$${lib}.so.6.1 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in Xp; do \
${LN} -sf lib$${lib}.so.6.2 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in ICE Xext; do \
${LN} -sf lib$${lib}.so.6.3 ${PREFIX}/lib/lib$${lib}.so; \
done; \
fi
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
# Date created: 5 January 1995 # Date created: 5 January 1995
# Whom: jmz # Whom: jmz
# #
# $Id: Makefile,v 1.44 1998/08/05 19:28:17 jmz Exp $ # $Id: Makefile,v 1.45 1998/09/21 00:03:21 steve Exp $
# #
DISTNAME= xc DISTNAME= xc
@ -60,6 +60,20 @@ pre-fetch:
pre-install: pre-install:
${MKDIR} /usr/X11R6 ${MKDIR} /usr/X11R6
post-install: post-install:
if [ "${PORTOBJFORMAT}" = "aout" ]; then \
for lib in PEX5 SM X11 XIE Xi Xmu Xt oldX; do \
${LN} -sf lib$${lib}.so.6.0 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in X11 Xaw Xtst; do \
${LN} -sf lib$${lib}.so.6.1 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in Xp; do \
${LN} -sf lib$${lib}.so.6.2 ${PREFIX}/lib/lib$${lib}.so; \
done; \
for lib in ICE Xext; do \
${LN} -sf lib$${lib}.so.6.3 ${PREFIX}/lib/lib$${lib}.so; \
done; \
fi
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk> .include <bsd.port.mk>