Dnia 2014-06-22, o godz. 11:41:01 "Andreas K. Huettel" <dilfri...@gentoo.org> napisał(a):
> Also people familiar with Perl have voiced doubts if we should meddle with > the > perl-module CFLAGS and LDFLAGS at all, maybe making these changes conditional > on something like I_KNOW_WHAT_I_AM_DOING. Hoping for comments. Making them conditional would make them pointless. Also, how about fixing CC and CXX? That's more important to me than some disrespected CFLAGS :P. > Detail discussion and test results follows below the patch. > > ======================================= > > Index: perl-module.eclass > =================================================================== > RCS file: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v > retrieving revision 1.139 > diff -u -B -r1.139 perl-module.eclass > --- perl-module.eclass 30 Mar 2014 19:25:14 -0000 1.139 > +++ perl-module.eclass 22 Jun 2014 09:35:16 -0000 > @@ -139,6 +139,8 @@ > --libdoc= \ > --destdir="${D}" \ > --create_packlist=0 \ > + --config "optimize=${CFLAGS}" \ > + --config "lddlflags=-shared ${LDFLAGS}" \ Tadaam, you just broke Darwin like we did! Look at [1] for some clues, though perl may need different values. [1]:https://bugs.gentoo.org/show_bug.cgi?id=513664#c7 -- Best regards, Michał Górny
signature.asc
Description: PGP signature