aboutsummaryrefslogtreecommitdiffstats
path: root/net/net6
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-06 18:22:41 +0800
committerbapt <bapt@FreeBSD.org>2013-05-06 18:22:41 +0800
commit9448bf8a9893f033f4857b17e60990eaf05437f2 (patch)
tree35173dab2afafdac2c12b688bfc1f1397a7b8cfb /net/net6
parent3d353e31abfcd08740e73294d90f9ba291e25502 (diff)
downloadfreebsd-ports-gnome-9448bf8a9893f033f4857b17e60990eaf05437f2.tar.gz
freebsd-ports-gnome-9448bf8a9893f033f4857b17e60990eaf05437f2.tar.zst
freebsd-ports-gnome-9448bf8a9893f033f4857b17e60990eaf05437f2.zip
Convert from WITHOUT_NLS to PORT_OPTIONS:MNLS
While here do some conversion to new options framework
Diffstat (limited to 'net/net6')
-rw-r--r--net/net6/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/net6/Makefile b/net/net6/Makefile
index f4010d49aee6..ed8141b54b65 100644
--- a/net/net6/Makefile
+++ b/net/net6/Makefile
@@ -20,14 +20,16 @@ USE_AUTOTOOLS= libtool
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>