aboutsummaryrefslogtreecommitdiff
path: root/lang/rubinius
diff options
context:
space:
mode:
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