diff options
author | garbled <garbled> | 2005-12-30 04:00:01 +0000 |
---|---|---|
committer | garbled <garbled> | 2005-12-30 04:00:01 +0000 |
commit | 391274d3acb9ccf789764517cd898b04ac04437b (patch) | |
tree | 69f5aa2b07e2f8538f21f552fe9cfb63bd99f354 /print | |
parent | 286d6ac85fbde380d748d0262eca9d42786d147d (diff) | |
download | pkgsrc-391274d3acb9ccf789764517cd898b04ac04437b.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')
-rw-r--r-- | print/gv/Makefile | 11 |
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" |