summaryrefslogtreecommitdiff
path: root/print/gv
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>2005-12-30 04:00:01 +0000
committergarbled <garbled@pkgsrc.org>2005-12-30 04:00:01 +0000
commitc86ee7f74c31c8265f1d36e50b51ee319f4541f8 (patch)
tree69f5aa2b07e2f8538f21f552fe9cfb63bd99f354 /print/gv
parent7b334562281863b843c2fd7e7975d990041ea642 (diff)
downloadpkgsrc-c86ee7f74c31c8265f1d36e50b51ee319f4541f8.tar.gz
Modify this pkg so it works with either xaw-xpm or xaw3d. If XAW_TYPE is
set to "standard" automatically promote it to xaw3d, as the pkg will not work with stock xaw. Change approved by Matthias (maintainer)
Diffstat (limited to 'print/gv')
-rw-r--r--print/gv/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/print/gv/Makefile b/print/gv/Makefile
index 4d98858f845..5dc985695c8 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2005/11/28 06:41:21 jlam Exp $
+# $NetBSD: Makefile,v 1.57 2005/12/30 04:00:01 garbled Exp $
DISTNAME= gv-3.6.1
CATEGORIES= print
@@ -15,6 +15,13 @@ USE_MAKEINFO= yes
TEXINFO_REQD= 4.2
INFO_FILES= gv.info
+# this pkg does not work with std xaw, but xpm and xaw3d work
+XAW_TYPE?= 3d
+.include "../../mk/bsd.prefs.mk"
+.if ${XAW_TYPE} == "standard"
+XAW_TYPE= 3d
+.endif
+
.if !exists(/usr/include/getopt.h)
. include "../../pkgtools/libnbcompat/buildlink3.mk"
post-extract:
@@ -22,5 +29,5 @@ post-extract:
.endif
-.include "../../x11/Xaw3d/buildlink3.mk"
+.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"