summaryrefslogtreecommitdiff
path: root/lang/ruby19-base
diff options
context:
space:
mode:
authortaca <taca>2011-08-20 13:51:29 +0000
committertaca <taca>2011-08-20 13:51:29 +0000
commit060403115d31dc7d1b6a2433c7ac62b2d8c8b27c (patch)
tree532a52b10bda61aac8a0526421db9888a71867ab /lang/ruby19-base
parent19f0fbbb275b4e47a53501a70e9565dccf856505 (diff)
downloadpkgsrc-060403115d31dc7d1b6a2433c7ac62b2d8c8b27c.tar.gz
* Use the same condition as ruby18-base, about use of
--enable-wide-getaddrinfo. * Remove utimensat(2) hack since it was temporary (short life) NetBSD current's problem. Bump PKGREVISION.
Diffstat (limited to 'lang/ruby19-base')
-rw-r--r--lang/ruby19-base/Makefile5
-rw-r--r--lang/ruby19-base/hacks.mk9
2 files changed, 4 insertions, 10 deletions
diff --git a/lang/ruby19-base/Makefile b/lang/ruby19-base/Makefile
index 1c5aa45dd4c..5d1ee19ef61 100644
--- a/lang/ruby19-base/Makefile
+++ b/lang/ruby19-base/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.10 2011/08/12 15:35:22 taca Exp $
+# $NetBSD: Makefile,v 1.11 2011/08/20 13:51:29 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_SUFFIX}
+PKGREVISION= 1
CATEGORIES= lang ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
#PKGREVISION=
@@ -87,7 +88,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
diff --git a/lang/ruby19-base/hacks.mk b/lang/ruby19-base/hacks.mk
index 47bcc6af85a..fa9c03709bd 100644
--- a/lang/ruby19-base/hacks.mk
+++ b/lang/ruby19-base/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.2 2011/08/15 01:13:25 taca Exp $
+# $NetBSD: hacks.mk,v 1.3 2011/08/20 13:51:29 taca Exp $
.if !defined(RUBY19_BASE_HACKS_MK)
RUBY19_BASE_HACKS_MK= defined
@@ -18,11 +18,4 @@ BUILDLINK_TRANSFORM+= rm:-O[0-9]*
. endif
.endif
-#
-# Work around for utimensat(2).
-#
-.if ${OPSYS} == "NetBSD"
-CONFIGURE_ENV+= ac_cv_func_utimensat=no
-.endif
-
.endif # RUBY19_BASE_HACKS_MK