Gentoo Archives: gentoo-dev

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] libtool.eclass: Have elibtoolize explicitly apply configure patches
Date: Wed, 13 Nov 2013 09:14:58
Message-Id: 52834300.9090703@gentoo.org
1 Hi all,
2
3 as you might or might not be aware of, elibtoolize() originally was for applying
4 patches to ltmain.sh, but now also applies patches to configure scripts.
5
6 The problem is that finding configure scripts to be patched is based on where
7 ltmain.sh is found in ${S}, wild guessing that ltmain.sh may reside in subdirectories,
8 trying ./configure, ../configure and ../../configure inconsistently.
9
10 But especially with gettext, this wild guess does not identify each configure script.
11
12 Attached patch drops that wild guesses, explicitly applying configure-patches to
13 configure scripts, while still explicitly applying ltconf.sh-patches to ltconf.sh.
14
15 WDYT?
16
17 Thank you!
18 /haubi/

Attachments

File name MIME type
elibtoolize-conf.diff text/plain

Replies