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:
parent
cad4f6c00c
commit
80d2abd0a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317725
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user