diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2007-01-22 13:49:31 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2007-01-22 13:49:31 +0000 |
commit | 246612e0a4ed911621842e2440dadab3d90b91e2 (patch) | |
tree | 7eade5d082f7c02040f76cf5fd293fea037e30fb /print | |
parent | 3d469fe71bdfafb52f859a79feb351171c3693e9 (diff) | |
download | pkgsrc-246612e0a4ed911621842e2440dadab3d90b91e2.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/Makefile | 11 |
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" |