From owner-svn-ports-all@FreeBSD.ORG Thu May 2 06:49:35 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D4D4CB88; Thu, 2 May 2013 06:49:35 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id C6ED3175C; Thu, 2 May 2013 06:49:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r426nZGT018892; Thu, 2 May 2013 06:49:35 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r426nZjl018891; Thu, 2 May 2013 06:49:35 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201305020649.r426nZjl018891@svn.freebsd.org> From: Jason Helfman Date: Thu, 2 May 2013 06:49:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317075 - head/net-mgmt/nagios-plugins X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2013 06:49:35 -0000 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 +.include 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 +.include