diff options
author | jgh <jgh@FreeBSD.org> | 2013-05-02 14:49:34 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-05-02 14:49:34 +0800 |
commit | e8f0673b05b616019786a53d4b4529011bccc2ee (patch) | |
tree | fd6d1163ae65e31f6fe36c4eaecac00f386bdfc0 /net-mgmt/nagios-plugins | |
parent | 39a5b214fccf0f0502bd1b6939f7eb5199da4eac (diff) | |
download | freebsd-ports-gnome-e8f0673b05b616019786a53d4b4529011bccc2ee.tar.gz freebsd-ports-gnome-e8f0673b05b616019786a53d4b4529011bccc2ee.tar.zst freebsd-ports-gnome-e8f0673b05b616019786a53d4b4529011bccc2ee.zip |
- adoptions of USES for gettext
Approved by: portmgr (bapt@)
Diffstat (limited to 'net-mgmt/nagios-plugins')
-rw-r--r-- | net-mgmt/nagios-plugins/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile index 7bd8eae59998..434047ea5754 100644 --- a/net-mgmt/nagios-plugins/Makefile +++ b/net-mgmt/nagios-plugins/Makefile @@ -42,7 +42,7 @@ NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin NAGIOSPOLLIP?= 127.0.0.1 NAGIOSPOLLIP6?= ::1 -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> CONFIGURE_ARGS= --with-nagios-user=${NAGIOSUSER} \ --with-nagios-group=${NAGIOSGROUP} \ @@ -128,12 +128,12 @@ PLIST_SUB+= SUB_LDAP="" PLIST_SUB+= SUB_LDAP="@comment " .endif -.if empty(PORT_OPTIONS:MNLS) +.if ${PORT_OPTIONS:MNLS} +USES+= gettext +PLIST_SUB+= NLS="" +.else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " -.else -USE_GETTEXT= yes -PLIST_SUB+= NLS="" .endif # Restore check_users from 1.4.15 for hosts without getutxent(3) @@ -153,4 +153,4 @@ post-patch: @${REINPLACE_CMD} -e 's# ::1 # ${NAGIOSPOLLIP6} #g' ${WRKSRC}/configure.in .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |