summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2007-01-23 13:24:42 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2007-01-23 13:24:42 +0000
commit361fd2be1eccf562177e780ab81dba2ac038ecf3 (patch)
tree0843e3234c4abf980ebe8b16437a7941060a029d /print
parent14f37cfe76844532744346aedcc15f2710a9c77e (diff)
downloadpkgsrc-361fd2be1eccf562177e780ab81dba2ac038ecf3.tar.gz
limit the SunOS test to 5.[6789] since 5.10 does not need the --enable-setenv-code configure argument. Noted by Gilles Dauphin.
Diffstat (limited to 'print')
-rw-r--r--print/gv/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/print/gv/Makefile b/print/gv/Makefile
index c61f7e32065..6029f41a046 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2007/01/22 13:49:31 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.64 2007/01/23 13:24:42 dmcmahill Exp $
DISTNAME= gv-3.6.2
PKGREVISION= 2
@@ -23,8 +23,10 @@ XAW_TYPE?= 3d
XAW_TYPE= 3d
.endif
-# Solaris-2.9/sparc is missing setenv() and unsetenv()
-.if ${OPSYS} == "SunOS"
+# Solaris-2.{8,9}/sparc are missing setenv() and unsetenv()
+# it is probably true that 5.6, 5.7, 5.8, and 5.9 all have
+# this problem. It appears that 5.10 does not need this flag.
+.if ${OPSYS} == "SunOS" && !empty(OS_VERSION:M5.[6789])
CONFIGURE_ARGS+= --enable-setenv-code
.endif