Update of /cvsroot/fink/fink/perlmod/Fink
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2640
Modified Files:
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.539
retrieving revision 1.540
diff -u -d -r1.539 -r1.540
--- PkgVersion.pm 21 Mar 2006 23:33:16 -0000 1.539
+++ PkgVersion.pm 22 Mar 2006 00:09:30 -0000 1.540
@@ -4848,6 +4848,8 @@
my $no_expand = shift || 0;
my $nonroot_okay = shift || 0;
+ my $arch = get_arch();
+
# Expand percent shortcuts
$script = &expand_percent($script, $self->{_expand},
$self->get_info_filename." $phase script") unless $no_expand;
@@ -4868,6 +4870,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.1285
retrieving revision 1.1286
diff -u -d -r1.1285 -r1.1286
--- ChangeLog 21 Mar 2006 23:33:16 -0000 1.1285
+++ ChangeLog 22 Mar 2006 00:09:30 -0000 1.1286
@@ -1,3 +1,8 @@
+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 Vasilevsky <[EMAIL PROTECTED]>
* PkgVersion.pm: Don't break everything.
-------------------------------------------------------
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