diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-13 13:13:04 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-13 13:13:04 +0800 |
commit | 53b00caed933fbf2a25da32a4dd590a5f8033114 (patch) | |
tree | 8e4782a6af8a960d75e2de008a18466af4df4a6d /lang/rubinius | |
parent | 22b763f0b6404cf6570de5a8b8b8bace97388a19 (diff) | |
download | freebsd-ports-gnome-53b00caed933fbf2a25da32a4dd590a5f8033114.tar.gz freebsd-ports-gnome-53b00caed933fbf2a25da32a4dd590a5f8033114.tar.zst freebsd-ports-gnome-53b00caed933fbf2a25da32a4dd590a5f8033114.zip |
Convert to new options framework
Diffstat (limited to 'lang/rubinius')
-rw-r--r-- | lang/rubinius/Makefile | 6 |
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 |