* [gentoo-commits] gentoo-x86 commit in sys-libs/ncurses/files: ncurses-5.9-pkg-config.patch
@ 2014-04-08 3:13 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2014-04-08 3:13 UTC (permalink / raw
To: gentoo-commits
vapier 14/04/08 03:13:11
Added: ncurses-5.9-pkg-config.patch
Log:
Convert configure flags to an array to make management easier. Fix pkg-config file install when cross-compiling or installing for the first time.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path
1.1 sys-libs/ncurses/files/ncurses-5.9-pkg-config.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/ncurses/files/ncurses-5.9-pkg-config.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/ncurses/files/ncurses-5.9-pkg-config.patch?rev=1.1&content-type=text/plain
Index: ncurses-5.9-pkg-config.patch
===================================================================
disable the $PATH search for the PKG_CONFIG tool. it isn't needed and just
gets in the way when setting to a value that might not yet exist.
disable the existence test for the PKG_CONFIG_LIBDIR dir. it breaks when you
cross-compile for an ABI that doesn't exist in the root dir (--build).
--- a/configure
+++ b/configure
@@ -3582,7 +3582,7 @@ fi
esac
test -z "$PKG_CONFIG" && PKG_CONFIG=none
-if test "$PKG_CONFIG" != none ; then
+if false ; then
if test "x$prefix" != xNONE; then
cf_path_syntax="$prefix"
@@ -3626,7 +3626,7 @@ echo $ECHO_N "checking if we should install .pc files for $PKG_CONFIG... $ECHO_C
PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG" | sed -e 's,/[^/]*/[^/]*$,,'`/lib/pkgconfig
fi
PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG_LIBDIR" | sed -e 's/^://' -e 's/:.*//'`
- if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then
+ if test -n "$PKG_CONFIG_LIBDIR" ; then
# Check whether --enable-pc-files or --disable-pc-files was given.
if test "${enable_pc_files+set}" = set; then
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-08 3:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 3:13 [gentoo-commits] gentoo-x86 commit in sys-libs/ncurses/files: ncurses-5.9-pkg-config.patch Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox