aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/ruby/Makefile3
-rw-r--r--lang/ruby14/Makefile3
-rw-r--r--lang/ruby16/Makefile3
3 files changed, 9 insertions, 0 deletions
diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile
index 596c57a05291..b7f0cb6340a0 100644
--- a/lang/ruby/Makefile
+++ b/lang/ruby/Makefile
@@ -19,6 +19,9 @@ MAINTAINER= yasuf@big.or.jp
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
+.if defined(USE_INET6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
MAN1= ruby.1
PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
diff --git a/lang/ruby14/Makefile b/lang/ruby14/Makefile
index 596c57a05291..b7f0cb6340a0 100644
--- a/lang/ruby14/Makefile
+++ b/lang/ruby14/Makefile
@@ -19,6 +19,9 @@ MAINTAINER= yasuf@big.or.jp
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
+.if defined(USE_INET6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
MAN1= ruby.1
PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile
index 596c57a05291..b7f0cb6340a0 100644
--- a/lang/ruby16/Makefile
+++ b/lang/ruby16/Makefile
@@ -19,6 +19,9 @@ MAINTAINER= yasuf@big.or.jp
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
+.if defined(USE_INET6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
MAN1= ruby.1
PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"