diff options
author | abs <abs> | 2000-12-14 18:21:28 +0000 |
---|---|---|
committer | abs <abs> | 2000-12-14 18:21:28 +0000 |
commit | 0dc488a610e50f1c4182cdb756a35c77e435febc (patch) | |
tree | ba5256a2460bf4a5e25998d6d75ec0db1705c5f2 /x11 | |
parent | f3a86a298fac4d8c53d92b5615ac8c459d6c1d95 (diff) | |
download | pkgsrc-0dc488a610e50f1c4182cdb756a35c77e435febc.tar.gz |
Dip into ${X11BASE}/lib/X11/config/X11.tmpl to determine the version number of
the Xaw library. Fixes PR/10619 - compilgin on XFree86 4.0
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Xaw3d/Makefile | 5 | ||||
-rw-r--r-- | x11/Xaw3d/pkg/PLIST | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/x11/Xaw3d/Makefile b/x11/Xaw3d/Makefile index ba7c2a47e87..39706cdc906 100644 --- a/x11/Xaw3d/Makefile +++ b/x11/Xaw3d/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 1999/10/07 17:41:59 tron Exp $ +# $NetBSD: Makefile,v 1.21 2000/12/14 18:21:28 abs Exp $ # DISTNAME= Xaw3d-1.5 @@ -12,6 +12,7 @@ CONFLICTS= Xaw-Xpm-* USE_IMAKE= yes WRKSRC= ${WRKDIR}/xc/lib/Xaw3d PLIST_SRC= ${WRKDIR}/PLIST-src +PLIST_SUBST= XAWREV=${XAWREV} post-extract: @(cd ${WRKSRC}; ${LN} -s .. X11) @@ -27,3 +28,5 @@ post-install: fi .include "../../mk/bsd.pkg.mk" + +XAWREV!=awk '/define.*SharedXawRev/{print $$3}' ${X11BASE}/lib/X11/config/X11.tmpl diff --git a/x11/Xaw3d/pkg/PLIST b/x11/Xaw3d/pkg/PLIST index 784ebf1f6f3..a3c75e87018 100644 --- a/x11/Xaw3d/pkg/PLIST +++ b/x11/Xaw3d/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 1998/07/15 10:45:36 agc Exp $ +@comment $NetBSD: PLIST,v 1.8 2000/12/14 18:21:28 abs Exp $ include/X11/Xaw3d/AllWidgets.h include/X11/Xaw3d/AsciiSink.h include/X11/Xaw3d/AsciiSinkP.h @@ -75,7 +75,7 @@ include/X11/Xaw3d/ViewportP.h include/X11/Xaw3d/XawImP.h include/X11/Xaw3d/XawInit.h lib/libXaw3d.a -lib/libXaw3d.so.6.1 +lib/libXaw3d.so.${XAWREV} share/doc/Xaw3d/README.XAW3D @dirrm share/doc/Xaw3d @dirrm include/X11/Xaw3d |