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/gss | |
parent | 07eda3852bc78d11f86e85e0ee88cefbc606f615 (diff) | |
download | freebsd-ports-gnome-65aec6f1482cdbbcff15593ddd76dbc8010a8525.tar.gz freebsd-ports-gnome-65aec6f1482cdbbcff15593ddd76dbc8010a8525.tar.zst freebsd-ports-gnome-65aec6f1482cdbbcff15593ddd76dbc8010a8525.zip |
Convert to new options framework
Diffstat (limited to 'security/gss')
-rw-r--r-- | security/gss/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/security/gss/Makefile b/security/gss/Makefile index 788b6c1e0490..59b32ee0c3be 100644 --- a/security/gss/Makefile +++ b/security/gss/Makefile @@ -31,14 +31,14 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .include "Makefile.man" -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.ifdef WITHOUT_NLS -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.else +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " .endif post-configure: @@ -53,4 +53,4 @@ post-install: cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |