> Revision: 134935 > https://trac.macports.org/changeset/134935 > Author: ionic at macports.org > Date: 2015-04-10 22:52:48 -0700 (Fri, 10 Apr 2015) > Log Message: > ----------- > libcdio: insert ugly hack for replacing libtool arguments with real linker > arguments. > > Modified Paths: > -------------- > trunk/dports/devel/libcdio/Portfile > > Modified: trunk/dports/devel/libcdio/Portfile > =================================================================== > --- trunk/dports/devel/libcdio/Portfile 2015-04-11 05:01:10 UTC (rev > 134934) > +++ trunk/dports/devel/libcdio/Portfile 2015-04-11 05:52:48 UTC (rev > 134935) > @@ -5,6 +5,7 @@ > > name libcdio > version 0.93 > +revision 1 > categories devel > platforms darwin > license GPL-3+ > @@ -35,5 +36,14 @@ > > configure.args --disable-silent-rules > > +# This is a hack because libcdio incorrectly registers the detected > +# libiconv linking options *for libtool* in its .pc files. > +# Should probably be handled another way? > +post-configure { > + foreach pcfile [glob ${worksrcpath}/*.pc] { > + reinplace -W "${worksrcpath}/lib/pkgconfig" "s/-R/-Wl,-rpath,/g" > "${pcfile}" > + } > +} > + > test.run yes > test.target check
Does anyone know of a *proper and sane* way to fix this? I couldn't come up with anything reasonable... and even my hack isn't really "reasonable". Mihai
signature.asc
Description: OpenPGP digital signature
_______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
