1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

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.
This commit is contained in:
Michael Haro 2000-04-02 02:57:44 +00:00
parent e2ebfe8fb8
commit 30fe50276d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27265

View File

@ -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>