diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-10-06 18:44:12 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-10-06 18:44:12 +0000 |
commit | 515cf47434a19bf5170351928c08c9b11f276a6d (patch) | |
tree | b8cb0fee961a0626a326cd322f19de0ac2ac2d18 /x11-toolkits/Xaw3d | |
parent | 6c9311618d7b407bfa6ac1f2deda926350a5a33b (diff) | |
download | ports-515cf47434a19bf5170351928c08c9b11f276a6d.tar.gz ports-515cf47434a19bf5170351928c08c9b11f276a6d.zip |
Notes
Diffstat (limited to 'x11-toolkits/Xaw3d')
-rw-r--r-- | x11-toolkits/Xaw3d/Makefile | 12 | ||||
-rw-r--r-- | x11-toolkits/Xaw3d/pkg-plist | 2 |
2 files changed, 6 insertions, 8 deletions
diff --git a/x11-toolkits/Xaw3d/Makefile b/x11-toolkits/Xaw3d/Makefile index 42b7cf9dd30a..cadb4501ea15 100644 --- a/x11-toolkits/Xaw3d/Makefile +++ b/x11-toolkits/Xaw3d/Makefile @@ -17,19 +17,15 @@ WRKSRC= ${WRKDIR}/xc/lib/Xaw3d USE_IMAKE= yes INSTALLS_SHLIB= yes .if exists(${X11BASE}/bin/XFree86) -PLIST= ${WRKDIR}/PLIST +PLIST_SUB= XAWLINK="" +.else +PLIST_SUB= XAWLINK="@comment " .endif post-extract: ${MKDIR} ${WRKSRC}/X11/Xaw3d cd ${WRKSRC}/X11/Xaw3d; ${LN} -sf ../../*.h . -.if exists(${X11BASE}/bin/XFree86) -post-build: - ${CP} ${PKGDIR}/pkg-plist ${PLIST} - ${ECHO_CMD} "lib/libXaw3d.so.7" >> ${PLIST} -.endif - # Workaround a bug in egcs on FreeBSD/Alpha. .if ${MACHINE_ARCH} == "alpha" post-configure: @@ -41,7 +37,7 @@ post-install: ${MKDIR} ${PREFIX}/share/doc/Xaw3d ${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d .if exists(${X11BASE}/bin/XFree86) - ${LN} -sf ${X11BASE}/lib/libXaw3d.so.7 ${X11BASE}/lib/libXaw3d.so.6 + ${LN} -sf libXaw3d.so.${XAWVER} ${X11BASE}/lib/libXaw3d.so.6 .endif @${CAT} ${PKGMESSAGE} diff --git a/x11-toolkits/Xaw3d/pkg-plist b/x11-toolkits/Xaw3d/pkg-plist index baa6fe928760..1b8b2f885248 100644 --- a/x11-toolkits/Xaw3d/pkg-plist +++ b/x11-toolkits/Xaw3d/pkg-plist @@ -1,6 +1,8 @@ +@comment $FreeBSD$ lib/libXaw3d.a lib/libXaw3d.so lib/libXaw3d.so.%%XAWVER%% +%%XAWLINK%%lib/libXaw3d.so.6 include/X11/Xaw3d/AllWidgets.h include/X11/Xaw3d/AsciiSink.h include/X11/Xaw3d/AsciiSinkP.h |