aboutsummaryrefslogtreecommitdiff
path: root/security/gsasl
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2012-06-27 19:52:13 +0000
committerJohan van Selst <johans@FreeBSD.org>2012-06-27 19:52:13 +0000
commita61925225764f1ab64e31639eae169eb529c7758 (patch)
tree75a63eed7f902250d8003350b2b37ac8f92bb384 /security/gsasl
parent35a670c59f3774b34f29abb0e1be9a8ef51a3994 (diff)
downloadports-a61925225764f1ab64e31639eae169eb529c7758.tar.gz
ports-a61925225764f1ab64e31639eae169eb529c7758.zip
Convert to new options framework
Notes
Notes: svn path=/head/; revision=300111
Diffstat (limited to 'security/gsasl')
-rw-r--r--security/gsasl/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/security/gsasl/Makefile b/security/gsasl/Makefile
index ea915b443fdd..b0ea0989b4e2 100644
--- a/security/gsasl/Makefile
+++ b/security/gsasl/Makefile
@@ -27,12 +27,14 @@ USE_LDCONFIG= yes
INFO= gsasl
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
CPPFLAGS+= -nostdinc -I/usr/include -I${LOCALBASE}/include