summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2007-01-22 13:49:31 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2007-01-22 13:49:31 +0000
commit64f57b525de62777cdefd675d144abad94064bec (patch)
tree7eade5d082f7c02040f76cf5fd293fea037e30fb /print
parent4243ab5b0e258e545f825ead19c16a648eb1493e (diff)
downloadpkgsrc-64f57b525de62777cdefd675d144abad94064bec.tar.gz
Include libgetopt/buildlink3.mk for systems like solaris.
Add an extra configure argument on solaris to let this build there. Tested with solaris-2.9/sparc and the sunpro compiler.
Diffstat (limited to 'print')
-rw-r--r--print/gv/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/print/gv/Makefile b/print/gv/Makefile
index b3e5156c5d9..c61f7e32065 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.62 2006/11/21 13:58:10 tron Exp $
+# $NetBSD: Makefile,v 1.63 2007/01/22 13:49:31 dmcmahill Exp $
DISTNAME= gv-3.6.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU:=gv/}
@@ -14,6 +14,7 @@ USE_TOOLS+= gmake gs:run makeinfo
TEXINFO_REQD= 4.2
INFO_FILES= yes
+LIBS+= ${BUILDLINK_LDADD.getopt}
# this pkg does not work with std xaw, but xpm and xaw3d work
XAW_TYPE?= 3d
@@ -22,5 +23,11 @@ XAW_TYPE?= 3d
XAW_TYPE= 3d
.endif
+# Solaris-2.9/sparc is missing setenv() and unsetenv()
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ARGS+= --enable-setenv-code
+.endif
+
+.include "../../devel/libgetopt/buildlink3.mk"
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"