summaryrefslogtreecommitdiff
path: root/lang/ruby/Makefile
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-01-22 13:31:44 +0000
committeritojun <itojun@pkgsrc.org>2000-01-22 13:31:44 +0000
commitcd2ea8771eb89968819a382ec429a6c7cc7cb51b (patch)
tree99504d9b4de760564529d98c11961e89173e3f22 /lang/ruby/Makefile
parent5367a358b706c644575ef2e0c019eebdaf09984a (diff)
downloadpkgsrc-cd2ea8771eb89968819a382ec429a6c7cc7cb51b.tar.gz
fix ELF platform support (configure.in patch missed one of clauses)
enable IPv6 on USE_INET6. approved by: sakamoto (maintainer)
Diffstat (limited to 'lang/ruby/Makefile')
-rw-r--r--lang/ruby/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile
index 50d388aea70..2712d66e21c 100644
--- a/lang/ruby/Makefile
+++ b/lang/ruby/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2000/01/15 18:46:29 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2000/01/22 13:31:44 itojun Exp $
#
DISTNAME= ruby-1.4.3
@@ -19,8 +19,17 @@ DEPENDS+= gdbm-1.7.3:../../databases/gdbm
DEPENDS+= ncurses>=4.2:../../devel/ncurses
DEPENDS+= readline-4.0:../../devel/readline
+BUILD_DEFS+= USE_INET6
+
+.include "../../mk/bsd.prefs.mk"
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
+.if defined(USE_INET6) && ${USE_INET6} == YES
+CONFIGURE_ARGS= --enable-ipv6
+.else
+CONFIGURE_ARGS= --disable-ipv6
+.endif
MAKE_ENV+= DLDFLAGS="-L${LOCALBASE}/lib -R${LOCALBASE}/lib -L${X11BASE}/lib -R${X11BASE}/lib"
PLIST_SUBST= RUBY_VERSION=1.4