Update of /cvsroot/fink/fink/perlmod/Fink
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv32243

Modified Files:
        ChangeLog VirtPackage.pm 
Log Message:
don't test ALL executables of the form /usr/bin/gcc*, only the ones we need


Index: VirtPackage.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/VirtPackage.pm,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- VirtPackage.pm      30 Aug 2009 23:20:20 -0000      1.148
+++ VirtPackage.pm      17 Oct 2009 18:19:38 -0000      1.149
@@ -800,7 +800,7 @@
 
        print STDERR "- checking for various GCC versions:\n" if 
($options{debug});
        if (opendir(DIR, "/usr/bin")) {
-               for my $gcc (grep(/^gcc/, readdir(DIR))) {
+               for my $gcc (grep(/^gcc(-[\d\.]+)?$/, readdir(DIR))) {
                        next if (-l "/usr/bin/$gcc");
                        if (open(GCC, '/usr/bin/' . $gcc . ' -### -v -x c 
/dev/null 2>&1 |')) {
                                my ($versionoutput, $version, $build);

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1638
retrieving revision 1.1639
diff -u -d -r1.1638 -r1.1639
--- ChangeLog   27 Sep 2009 18:24:12 -0000      1.1638
+++ ChangeLog   17 Oct 2009 18:19:38 -0000      1.1639
@@ -1,3 +1,8 @@
+2009-10-17  Dave Morrison  <d...@finkproject.org>
+
+       * VirtPackage.pm: don't test ALL executables of the form /usr/bin/gcc*,
+       only the ones we need
+
 2009-09-27  Dave Morrison  <d...@finkproject.org>
 
        * Bootstrap.pm: Support OS X 10.6.1


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to