diff options
author | tron <tron@pkgsrc.org> | 2001-03-11 09:45:40 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-03-11 09:45:40 +0000 |
commit | 5f48fd7061e055fa8057f196328c5ce058648d16 (patch) | |
tree | 27e90f610c4e40de8f087d54f4850a1f17294b4c /x11 | |
parent | 25d2f035c605604a0763478b4fd8c4b19f0aa1f0 (diff) | |
download | pkgsrc-5f48fd7061e055fa8057f196328c5ce058648d16.tar.gz |
Make this package build with OpenWindows under Solaris. Fixes PR pkg/11640
by Hauke Fath.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Xaw3d/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/x11/Xaw3d/Makefile b/x11/Xaw3d/Makefile index 0d50571fc7e..ebb17ba6a75 100644 --- a/x11/Xaw3d/Makefile +++ b/x11/Xaw3d/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2001/02/25 04:18:25 hubertf Exp $ +# $NetBSD: Makefile,v 1.24 2001/03/11 09:45:40 tron Exp $ # DISTNAME= Xaw3d-1.5 @@ -15,9 +15,18 @@ WRKSRC= ${WRKDIR}/xc/lib/Xaw3d PLIST_SRC= ${WRKDIR}/PLIST-src PLIST_SUBST= XAWREV=${XAWREV} +.include "../../mk/bsd.prefs.mk" + post-extract: @(cd ${WRKSRC}; ${LN} -s .. X11) +.if (${OPSYS} == SunOS) && (${X11BASE} == /usr/openwin) +post-configure: + cd ${WRKSRC}; \ + ${SED} -e 's#^ SERVER#SERVER#' <${MAKEFILE} >${MAKEFILE}.sed; \ + ${MV} ${MAKEFILE}.sed ${MAKEFILE} +.endif + post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Xaw3d ${INSTALL_DATA} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d @@ -30,4 +39,8 @@ post-install: .include "../../mk/bsd.pkg.mk" +.if (${OPSYS} == SunOS) && (${X11BASE} == /usr/openwin) +XAWREV!=awk '/define.*SharedXawRev/{print $$3}' ${X11BASE}/lib/config/sv4Lib.tmpl +.else XAWREV!=awk '/define.*SharedXawRev/{print $$3}' ${X11BASE}/lib/X11/config/X11.tmpl +.endif |