aboutsummaryrefslogtreecommitdiff
path: root/lang/rubinius
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-13 05:13:04 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-13 05:13:04 +0000
commit8316e2eebad1ea037282cbd3af935bb82459f0b1 (patch)
treec520ff0ffdf873ba4804630b5ed0ab2407bed73b /lang/rubinius
parente09f785ef79a1f96333493f68ce85a66d330b096 (diff)
downloadports-8316e2eebad1ea037282cbd3af935bb82459f0b1.tar.gz
ports-8316e2eebad1ea037282cbd3af935bb82459f0b1.zip
Notes
Diffstat (limited to 'lang/rubinius')
-rw-r--r--lang/rubinius/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/rubinius/Makefile b/lang/rubinius/Makefile
index 71636643e7b8..4aac2fc1526a 100644
--- a/lang/rubinius/Makefile
+++ b/lang/rubinius/Makefile
@@ -37,7 +37,9 @@ USE_PERL5_BUILD= yes
USE_GMAKE= yes
MAKE_JOBS_UNSAFE= yes
-OPTIONS= GDBM "Enable GDBM support" on
+OPTIONS_DEFINE= GDBM
+OPTIONS_DEFAULT= GDBM
+GDBM_DESC= Enable GDBM support
.include <bsd.port.pre.mk>
@@ -49,7 +51,7 @@ MANUAL_PACKAGE_BUILD= hangs on pointyhat
BROKEN= Does not compile on sparc64
.endif
-.if !defined(WITHOUT_GDBM) || exists(${LOCALBASE}/include/gdbm.h)
+.if ${PORT_OPTIONS:MGDBM} || exists(${LOCALBASE}/include/gdbm.h)
LIB_DEPENDS= gdbm.4:${PORTSDIR}/databases/gdbm
PLIST_SUB+= GDBM=""
.else