summaryrefslogtreecommitdiff
path: root/lang/ruby18-base
diff options
context:
space:
mode:
authortaca <taca>2011-07-21 03:32:08 +0000
committertaca <taca>2011-07-21 03:32:08 +0000
commit211584d8b8af1304a7cafc04bb7570d0e1bb7c45 (patch)
tree1d93c0db9ef1dca41c081be99c7286eabe30f855 /lang/ruby18-base
parenta494b828405ea1d3f31086f16ade6aec076c2e94 (diff)
downloadpkgsrc-211584d8b8af1304a7cafc04bb7570d0e1bb7c45.tar.gz
Limit use of --enable-wide-getaddrinfo on SunOS from 5.6 to 5.9.
On Solaris 10, it seems that --enable-wide-getaddrinfo has problem although it was needed on Solaris 9. Should be fix PR pkg/44039. Bump PKGREVISION.
Diffstat (limited to 'lang/ruby18-base')
-rw-r--r--lang/ruby18-base/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/ruby18-base/Makefile b/lang/ruby18-base/Makefile
index 70274622b1b..6229a057bf4 100644
--- a/lang/ruby18-base/Makefile
+++ b/lang/ruby18-base/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.62 2011/06/16 15:16:37 taca Exp $
+# $NetBSD: Makefile,v 1.63 2011/07/21 03:32:08 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_SUFFIX}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= lang ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
@@ -81,7 +81,7 @@ CONFIGURE_ENV+= ac_cv_header_ucontext_h=no
#
# work around for getaddrinfo(3)
#
-.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
+.if ${OPSYS} == "Linux" || (${OPSYS} == "SunOS" && !empty(OS_VERSION:M5.[6-9]))
CONFIGURE_ARGS+= --enable-wide-getaddrinfo
.endif