summaryrefslogtreecommitdiff
path: root/x11/xworld/Makefile
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2005-06-20 10:58:16 +0000
committerwennmach <wennmach@pkgsrc.org>2005-06-20 10:58:16 +0000
commit83088e5d9789cfe7b0ea246e83592ff4ba5c666f (patch)
treecf060d76e3a2a5c1e614830466d9ccde8326167f /x11/xworld/Makefile
parent7468513e57c40761afbac1eb6a3520df8c45204f (diff)
downloadpkgsrc-83088e5d9789cfe7b0ea246e83592ff4ba5c666f.tar.gz
Make xworld work with USE_X11=xorg
Patches provided by Antoine Reilles in PR pkg/30376
Diffstat (limited to 'x11/xworld/Makefile')
-rw-r--r--x11/xworld/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/xworld/Makefile b/x11/xworld/Makefile
index 8553120e700..560acfaa138 100644
--- a/x11/xworld/Makefile
+++ b/x11/xworld/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2005/06/01 18:03:33 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2005/06/20 10:58:16 wennmach Exp $
#
DISTNAME= xworld-2.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= ftp://gutemine.geo.uni-koeln.de/pub/xworld/ \
ftp://ftp.Uni-Koeln.DE/misc/
@@ -16,6 +16,12 @@ CONFIGURE_ENV+= PREFIX="${PREFIX}"
CONFIGURE_ENV+= LDLIBS="-lm ${LDFLAGS} -lX11"
CONFIGURE_ENV+= CAT="${CAT}" STRIP=strip INCLUDES="" MORELIBS=""
+SUBST_CLASSES+= x11
+SUBST_MESSAGE.x11= "Fixing x11 options."
+SUBST_STAGE.x11= post-patch
+SUBST_FILES.x11= defaults/NetBSD/set.csh
+SUBST_SED.x11= -e 's,@X11BASE@,${X11BASE},g'
+
SUBST_CLASSES+= install
SUBST_MESSAGE.install= "Fixing install options."
SUBST_STAGE.install= post-patch