svn commit: r317725 - head/misc/pinfo
Emanuel Haupt
ehaupt at FreeBSD.org
Thu May 9 08:50:01 UTC 2013
Author: ehaupt
Date: Thu May 9 08:50:00 2013
New Revision: 317725
URL: http://svnweb.freebsd.org/changeset/ports/317725
Log:
Fix gettext logic. Gettext is needed in pre-configure.
Submitted by: ak, John Marino <draco at marino.st> (via irc)
Modified:
head/misc/pinfo/Makefile
Modified: head/misc/pinfo/Makefile
==============================================================================
--- head/misc/pinfo/Makefile Thu May 9 08:46:53 2013 (r317724)
+++ head/misc/pinfo/Makefile Thu May 9 08:50:00 2013 (r317725)
@@ -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
.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
More information about the svn-ports-head
mailing list