aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby16/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby16/Makefile')
-rw-r--r--lang/ruby16/Makefile3
1 files changed, 3 insertions, 0 deletions
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}"