1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Fix gettext logic. Gettext is needed in pre-configure.

Submitted by:	ak, John Marino <draco@marino.st> (via irc)
This commit is contained in:
Emanuel Haupt 2013-05-09 08:50:00 +00:00
parent cad4f6c00c
commit 80d2abd0a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317725

View File

@ -13,10 +13,9 @@ LICENSE= GPLv2
OPTIONS_DEFINE= READLINE
OPTIONS_DEFAULT=READLINE
READLINE_DESC= Enable readline support
USE_BZIP2= yes
USES= gettext ncurses
USES= ncurses gettext
USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf
LIBTOOLIZE_ARGS=--force
ACLOCAL_ARGS= -I macros
@ -40,16 +39,14 @@ PLIST_FILES+= %%NLS%%share/locale/${lang}/LC_MESSAGES/pinfo.mo
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MREADLINE}
USES= readline
USES+= readline
.else
CONFIGURE_ARGS+=--without-readline
.endif