- USE_GETTEXT should defined only when WITH_NLS

PR:		ports/121098
Submitted by:	Philip M. Gollucci <pgollucci at p6m7g8.com>
Approved by:	Jarrod Sayers <jarrod at netleader.com.au> (maintainer)
This commit is contained in:
Rong-En Fan 2008-03-19 14:31:02 +00:00
parent 22057eb296
commit 69e1dbe1e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209379

View File

@ -18,7 +18,6 @@ COMMENT= Plugins for Nagios
USE_SUBMAKE= yes
USE_GMAKE= yes
USE_ICONV= yes
USE_GETTEXT= yes
USE_PERL5= yes
USE_AUTOTOOLS= aclocal:19 automake:19 autoconf:261
ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} -I m4 -I gl/m4
@ -133,6 +132,7 @@ PLIST_SUB+= SUB_LDAP="@comment "
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif