summaryrefslogtreecommitdiff
path: root/print/gv
diff options
context:
space:
mode:
authorjlam <jlam>2001-08-23 04:26:51 +0000
committerjlam <jlam>2001-08-23 04:26:51 +0000
commit61a40fa3f8871c181134dbe60ef56ca01892bb6f (patch)
tree4bfa8b36ce531fe4f0f7472d5fdff888abf4b533 /print/gv
parent3f2f4a4b533f32a124e90f5bfa20853ce2dd896a (diff)
downloadpkgsrc-61a40fa3f8871c181134dbe60ef56ca01892bb6f.tar.gz
Move per-package default XAW_TYPE setting above the inclusion of
bsd.prefs.mk so that it is actually used. Where possible, include xaw.buildlink.mk instead of setting USE_XAW, and use LIBXAW where needed.
Diffstat (limited to 'print/gv')
-rw-r--r--print/gv/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/print/gv/Makefile b/print/gv/Makefile
index d739246fa3a..3936936f16c 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2001/02/17 17:51:44 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2001/08/23 04:26:54 jlam Exp $
# FreeBSD Id: Makefile,v 1.16 1997/07/13 18:49:29 max Exp
#
@@ -13,13 +13,12 @@ COMMENT= PostScript and PDF previewer
DEPENDS+= ghostscript-[6-9]*:../../print/ghostscript
USE_IMAKE= yes
-USE_XAW= yes
.include "../../mk/bsd.prefs.mk"
-XAW_TYPE?= 3d
+# We need Xaw3d to build.
.if (${XAW_TYPE} == standard)
-DEPENDS+= Xaw3d-1.5:../../x11/Xaw3d
+XAW_TYPE= 3d
.endif
post-extract:
@@ -28,4 +27,5 @@ post-extract:
post-install:
@(cd ${WRKSRC}; ${MAKE} install.doc)
+.include "../../mk/xaw.buildlink.mk"
.include "../../mk/bsd.pkg.mk"