Date: Thu, 2 May 2013 06:49:35 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317075 - head/net-mgmt/nagios-plugins Message-ID: <201305020649.r426nZjl018891@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Thu May 2 06:49:34 2013 New Revision: 317075 URL: http://svnweb.freebsd.org/changeset/ports/317075 Log: - adoptions of USES for gettext Approved by: portmgr (bapt@) Modified: head/net-mgmt/nagios-plugins/Makefile Modified: head/net-mgmt/nagios-plugins/Makefile ============================================================================== --- head/net-mgmt/nagios-plugins/Makefile Thu May 2 06:36:43 2013 (r317074) +++ head/net-mgmt/nagios-plugins/Makefile Thu May 2 06:49:34 2013 (r317075) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305020649.r426nZjl018891>