summaryrefslogtreecommitdiff
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
commitf137c240445313f7df83c7e229075547f56d95b6 (patch)
tree0843e3234c4abf980ebe8b16437a7941060a029d
parent43df4c94587e8a64499bee01d12f7df86c9a14ff (diff)
downloadpkgsrc-f137c240445313f7df83c7e229075547f56d95b6.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.
-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