diff options
author | asami <asami@FreeBSD.org> | 1998-09-22 06:08:34 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-09-22 06:08:34 +0000 |
commit | ca72334d645ccd440e3fe12c657bfc1eef7de4d7 (patch) | |
tree | 0919e03d84610fe6aac9bd30a5cbf096344b6688 /x11-servers | |
parent | 8fcb8a990104142168c13a6dedb85bad076f4337 (diff) | |
download | FreeBSD-ports-ca72334d645ccd440e3fe12c657bfc1eef7de4d7.zip FreeBSD-ports-ca72334d645ccd440e3fe12c657bfc1eef7de4d7.tar.gz |
Make lib*.so links in a.out case.
Diffstat (limited to 'x11-servers')
-rw-r--r-- | x11-servers/XFree86-4-Server-snap/Makefile | 16 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/Makefile | 16 |
2 files changed, 30 insertions, 2 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile index ba6193f..9a290d9 100644 --- a/x11-servers/XFree86-4-Server-snap/Makefile +++ b/x11-servers/XFree86-4-Server-snap/Makefile @@ -3,7 +3,7 @@ # Date created: 5 January 1995 # 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 @@ -60,6 +60,20 @@ pre-fetch: pre-install: ${MKDIR} /usr/X11R6 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 .include <bsd.port.mk> diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile index ba6193f..9a290d9 100644 --- a/x11-servers/XFree86-4-Server/Makefile +++ b/x11-servers/XFree86-4-Server/Makefile @@ -3,7 +3,7 @@ # Date created: 5 January 1995 # 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 @@ -60,6 +60,20 @@ pre-fetch: pre-install: ${MKDIR} /usr/X11R6 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 .include <bsd.port.mk> |