summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortaca <taca>2006-03-15 08:18:45 +0000
committertaca <taca>2006-03-15 08:18:45 +0000
commit7ff88d16ba6a69fba7d30555e4120c730463060d (patch)
tree4b3c194ea72a4f05456041c20915d1522711166c /lang
parentc5f7ed1e6b784d3957319dcc33ff4f83babaa4a8 (diff)
downloadpkgsrc-7ff88d16ba6a69fba7d30555e4120c730463060d.tar.gz
Add (trial) workaround for getaddrinfo() on Linux.
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby18-base/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/ruby18-base/Makefile b/lang/ruby18-base/Makefile
index d7372e393f5..378c243063a 100644
--- a/lang/ruby18-base/Makefile
+++ b/lang/ruby18-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/03/14 01:14:29 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2006/03/15 08:18:45 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
@@ -57,6 +57,13 @@ PLIST_SUBST+= HAS_IO="@comment "
PLIST_SUBST+= HAS_IO=
.endif
+#
+# Linux work around for getaddrinfo(3)
+#
+.if ${OPSYS} == "Linux"
+CONFIGURE_ARGS+= --enable-wide-getaddrinfo
+.endif
+
DOCS= COPYING COPYING.ja ChangeLog README \
README.EXT README.EXT.ja README.ja ToDo \
doc/ChangeLog-1.8.0 doc/NEWS \