diff options
author | mharo <mharo@FreeBSD.org> | 2000-04-02 02:57:44 +0000 |
---|---|---|
committer | mharo <mharo@FreeBSD.org> | 2000-04-02 02:57:44 +0000 |
commit | f58993a90fcc074c0ea09afd5bf327294c71a975 (patch) | |
tree | cff083bec259fd96503526eee75ba488c6db21ea /x11-toolkits/Xaw3d | |
parent | c4f278b82ee06b409445fd463afd4fea66cfd3bb (diff) | |
download | FreeBSD-ports-f58993a90fcc074c0ea09afd5bf327294c71a975.zip FreeBSD-ports-f58993a90fcc074c0ea09afd5bf327294c71a975.tar.gz |
stupid little hack to that links libXaw3d.so.7 to libXaw3d.so.6 when built
with XFree86 4.0 installed. This should solve the problem reported in
PR 17340.
Diffstat (limited to 'x11-toolkits/Xaw3d')
-rw-r--r-- | x11-toolkits/Xaw3d/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-toolkits/Xaw3d/Makefile b/x11-toolkits/Xaw3d/Makefile index b381835..1facf73 100644 --- a/x11-toolkits/Xaw3d/Makefile +++ b/x11-toolkits/Xaw3d/Makefile @@ -15,11 +15,20 @@ MAINTAINER= ports@FreeBSD.org WRKSRC= ${WRKDIR}/xc/lib/Xaw3d USE_IMAKE= yes +.if exists(${X11BASE}/bin/XFree86) +PLIST= ${WRKDIR}/PLIST +.endif post-extract: ${MKDIR} ${WRKSRC}/X11/Xaw3d cd ${WRKSRC}/X11/Xaw3d; ${LN} -sf ../../*.h . +.if exists(${X11BASE}/bin/XFree86) +post-build: + ${CP} ${PKGDIR}/PLIST ${WRKDIR}/PLIST + ${ECHO} "lib/libXaw3d.so.7" >> ${PLIST} +.endif + # Workaround a bug in egcs on FreeBSD/Alpha. .if ${MACHINE_ARCH} == "alpha" post-configure: @@ -31,6 +40,9 @@ post-install: ${LDCONFIG} -m ${PREFIX}/lib ${MKDIR} ${PREFIX}/share/doc/Xaw3d ${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d +.if exists(${X11BASE}/bin/XFree86) + ${LN} ${X11BASE}/lib/libXaw3d.so.7 ${X11BASE}/lib/libXaw3d.so.6 +.endif @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |