minor glitch in path-prefix on 10.10

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0DkZH5RVca1ahuDxjK0ZGrDa7OPkrvyRLhMwnavKj84aA@mail.gmail.com>
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

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

_______________________________________________
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.