Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: "Gregory M. Turner" <gmt@×××××.us>
Subject: Re: [gentoo-dev] Re: [PATCH/RFC] eclass/flag-o-matic.eclass: prepend-ldpath
Date: Thu, 11 Oct 2012 03:29:41
Message-Id: 201210102328.56246.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [PATCH/RFC] eclass/flag-o-matic.eclass: prepend-ldpath by "Gregory M. Turner"
1 On Wednesday 10 October 2012 18:47:46 Gregory M. Turner wrote:
2 > + if [[ ${CHOST} == *-cygwin* ]] ; then
3 > + fpeconfig="--without-fpectl"
4
5 just re-use myconf. this is what it's for.
6
7 > + myconf="${myconf} ac_cv_func_bind_textdomain_codeset=yes"
8
9 just export it:
10 export ac_cv_func_bind_textdomain_codeset=yes
11
12 > As for cpython_econf -- is it OK that it doesn't begin with "python"?
13 > Or should it perhaps be "python_cpython_econf?"
14
15 i think it's all a giant hack for a problem i have yet to see described where
16 the user wasn't doing something wrong. it's one thing to add LDFLAGS="-L.
17 ${LDFLAGS}" to support their dumbness, but it's a completely different ballgame
18 to write an entire flag parser (which i'm going to assume isn't even really
19 necessary or covers all possible angles).
20
21 another alternative is to modify the python build system so that it uses the
22 full path to the library directly rather than searching for it via -L ...
23 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature