pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/gv Include libgetopt/buildlink3.mk for systems l...
details: https://anonhg.NetBSD.org/pkgsrc/rev/150414f02d19
branches: trunk
changeset: 524268:150414f02d19
user: dmcmahill <dmcmahill%pkgsrc.org@localhost>
date: Mon Jan 22 13:49:31 2007 +0000
description:
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:
print/gv/Makefile | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 5f521ba8c790 -r 150414f02d19 print/gv/Makefile
--- a/print/gv/Makefile Mon Jan 22 13:44:57 2007 +0000
+++ b/print/gv/Makefile Mon Jan 22 13:49:31 2007 +0000
@@ -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 @@
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
.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"
Home |
Main Index |
Thread Index |
Old Index