Update of /cvsroot/fink/fink/perlmod/Fink
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29677

Modified Files:
      Tag: branch_0_24
        ChangeLog PkgVersion.pm 
Log Message:
when an error is generated on Intel hardware, warn users that many maintainers 
don't have Intel hardware


Index: PkgVersion.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/PkgVersion.pm,v
retrieving revision 1.362.2.33
retrieving revision 1.362.2.34
diff -u -d -r1.362.2.33 -r1.362.2.34
--- PkgVersion.pm       17 Mar 2006 22:35:31 -0000      1.362.2.33
+++ PkgVersion.pm       22 Mar 2006 00:03:22 -0000      1.362.2.34
@@ -3682,6 +3682,7 @@
        my $nonroot_okay = shift || 0;
 
        my $notifier = Fink::Notify->new();
+       my $arch = get_arch();
 
        # Expand percent shortcuts
        $script = &expand_percent($script, $self->{_expand}, 
$self->get_info_filename." $phase script") unless $no_expand;
@@ -3702,6 +3703,10 @@
                                "or fink-beginners mailing lists.  As a last 
resort, you can try e-mailing\n".
                                "the maintainer directly:\n\n".
                                "\t" . $self->param('maintainer') . "\n\n";
+                       if ($arch eq "i386") {
+$error .= "Note that many fink package maintainers do not (yet) have access to 
OSX on\n" .
+       "Intel hardware, so you may have better luck on the mailing lists.\n\n";
+}
                }
                die $error . "\n";
        }

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.873.2.92
retrieving revision 1.873.2.93
diff -u -d -r1.873.2.92 -r1.873.2.93
--- ChangeLog   21 Mar 2006 22:54:08 -0000      1.873.2.92
+++ ChangeLog   22 Mar 2006 00:03:21 -0000      1.873.2.93
@@ -1,5 +1,10 @@
 2006-03-21  Dave Morrison  <[EMAIL PROTECTED]>
 
+       * PkgVersion.pm: when an error is generated on Intel hardware, warn 
+       users that many maintainers don't have Intel hardware.
+
+2006-03-21  Dave Morrison  <[EMAIL PROTECTED]>
+
        * FinkVersion.pm.in: new function default_binary_version
 
 2006-03-17  Benjamin Reed  <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to