summaryrefslogtreecommitdiff
path: root/print/gv
diff options
context:
space:
mode:
authoragc <agc>1999-08-25 13:37:34 +0000
committeragc <agc>1999-08-25 13:37:34 +0000
commit180af65efcbfb9594cafbaf1302968edfdc791e0 (patch)
tree4e6397ac799b96e60809f2cb1c097771c079275a /print/gv
parent60a78b505626e9b3ea90765f6fe799033a8f8d0f (diff)
downloadpkgsrc-180af65efcbfb9594cafbaf1302968edfdc791e0.tar.gz
Introduce a USE_XAW definition, which is used in package Makefiles, to
denote that the package uses libXaw. Introduce an XAW_TYPE definition, which is defined in /etc/mk.conf by the user, to denote the type of libXaw to use. Possible values are: standard, 3d and xpm. Define USE_XAW in relevant Makefiles. Set default XAW_TYPE in Makefiles which previously did a DEPENDS+= Xaw3d... This means that package builds should not fail because of conflicting Xaw packages being installed on machines.
Diffstat (limited to 'print/gv')
-rw-r--r--print/gv/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/print/gv/Makefile b/print/gv/Makefile
index e54127dc38b..6f12cc423ec 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 1999/04/13 15:31:07 agc Exp $
+# $NetBSD: Makefile,v 1.18 1999/08/25 13:37:36 agc Exp $
# FreeBSD Id: Makefile,v 1.16 1997/07/13 18:49:29 max Exp
#
@@ -9,10 +9,14 @@ MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/gv/unix/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://wwwthep.physik.uni-mainz.de/~plass/gv/
-DEPENDS+= Xaw3d-1.5:../../x11/Xaw3d
DEPENDS+= ghostscript-5.50:../../print/ghostscript5
USE_IMAKE= yes
+USE_XAW= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+XAW_TYPE?= 3d
post-extract:
${MV} ${WRKSRC}/doc/gv.man ${WRKSRC}/source/