diff options
author | johans <johans@FreeBSD.org> | 2012-06-28 03:52:13 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2012-06-28 03:52:13 +0800 |
commit | 65aec6f1482cdbbcff15593ddd76dbc8010a8525 (patch) | |
tree | 00379e637907602d3fa097ccab787fbd98953ef4 /security/gsasl/Makefile | |
parent | 07eda3852bc78d11f86e85e0ee88cefbc606f615 (diff) | |
download | freebsd-ports-graphics-65aec6f1482cdbbcff15593ddd76dbc8010a8525.tar.gz freebsd-ports-graphics-65aec6f1482cdbbcff15593ddd76dbc8010a8525.tar.zst freebsd-ports-graphics-65aec6f1482cdbbcff15593ddd76dbc8010a8525.zip |
Convert to new options framework
Diffstat (limited to 'security/gsasl/Makefile')
-rw-r--r-- | security/gsasl/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/security/gsasl/Makefile b/security/gsasl/Makefile index ea915b443fd..b0ea0989b4e 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 |