aboutsummaryrefslogtreecommitdiffstats
path: root/lang/spidermonkey17
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-04 23:13:42 +0800
committerbapt <bapt@FreeBSD.org>2013-06-04 23:13:42 +0800
commit49d0c5ffe215b688be077f3e0d0fdf105e9fe908 (patch)
tree0b36792fa675c2edf5b15e43588e3ae7a3958ffc /lang/spidermonkey17
parent9e082b72a0776c33f71efc2bb2b7a5feac9b641f (diff)
downloadfreebsd-ports-gnome-49d0c5ffe215b688be077f3e0d0fdf105e9fe908.tar.gz
freebsd-ports-gnome-49d0c5ffe215b688be077f3e0d0fdf105e9fe908.tar.zst
freebsd-ports-gnome-49d0c5ffe215b688be077f3e0d0fdf105e9fe908.zip
Convert to new options framework
Diffstat (limited to 'lang/spidermonkey17')
-rw-r--r--lang/spidermonkey17/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/lang/spidermonkey17/Makefile b/lang/spidermonkey17/Makefile
index 84ba0948cb25..ca6091ca605b 100644
--- a/lang/spidermonkey17/Makefile
+++ b/lang/spidermonkey17/Makefile
@@ -1,7 +1,4 @@
-# Ports collection makefile for: spidermonkey
-# Date created: Fri Apr 18, 2003
-# Whom: Dan Rench <citric@cubicone.tmetic.com>
-#
+# Created by: Dan Rench <citric@cubicone.tmetic.com>
# $FreeBSD$
PORTNAME= spidermonkey17
@@ -44,11 +41,11 @@ PLIST_FILES= bin/js lib/libjs.so lib/libjs.so.1 ${JSH:S,^,include/,}
WRKSRC= ${WRKDIR}/${SRC_DIR}
EXTRACT_AFTER_ARGS= --exclude js/jsd
-OPTIONS= UTF8 "Enable UTF8 support" Off
+OPTIONS_DEFINE= UTF8
.include <bsd.port.options.mk>
-.if defined(WITH_UTF8)
+.if ${PORT_OPTIONS:MUTF8}
CFLAGS+= -DJS_C_STRINGS_ARE_UTF8
.endif