Re: minor glitch in path-prefix on 10.10

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
On Oct 26, 2014, at 10:04 AM, Jack Howarth <[email protected]> wrote:

> Alexander,
>        While debugging the test suite regressions in gcc49 on Yosemite (which were due to the erroneous Puma-like shared library linkage), I noticed a glitch in the PATH set in fink builds for the path-prefix on 10.10. We end up with the expected /sw/var/lib/fink/path-prefix-libcxx on PATH followed by bogus /sw/var/lib/fink/path-prefix-g++-4.0 as well. I assume the conditional...
> 
> 
> # FIXME: (No)SetPATH is undocumented
>         unless ($self->has_param('NoSetPATH')) {
>                 # use path-prefix-* to give magic to 'gcc' and related commands
>                 my $pathprefix;
>                 if  ($config->param("Distribution") lt "10.6") {
>                         # Enforce g++-4.0 even for uncooperative packages, by making it the
>                         # first 'g++' in the path (symbol-munging binary compatibility)
>                         $pathprefix = ensure_gpp_prefix('4.0');
>                 }
> 
> in /sw/lib/perl5/Fink/PkgVersion.pm is incorrectly seeing 10.10 as 10.1.
>              Jack


Ick, yeah, that’s not going to resolve correctly for ’10.10’.  I’ll push a fix onto git master.

------------------------------------------------------------------------------

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.