Update of /cvsroot/fink/fink
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2132
Modified Files:
ChangeLog inject.pl
Log Message:
inject.pl: create FinkVersion.pm out of FinkVersion.pm.in before loading
Fink::Bootstrap. Because this copy of fink is only present in order to run
Fink::Bootstrap::inject_packages(), we don't care about the values of
@VERSION@ or @ARCHITECTURE@ -- the actual values are not needed -- so we
leave those strings as is.
Index: inject.pl
===================================================================
RCS file: /cvsroot/fink/fink/inject.pl,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- inject.pl 7 Mar 2009 16:25:03 -0000 1.30
+++ inject.pl 1 Apr 2009 04:46:21 -0000 1.31
@@ -28,6 +28,18 @@
use FindBin;
use lib "$FindBin::RealBin/perlmod";
+use File::Copy;
+
+### create FinkVersion.pm from FinkVersion.pm.in (we don't care about the
+### @ARCHITECTURE@ and @VERSION@ strings, because this copy of Fink is just
+### here for the purpose of running the inject_packages() script, which
+### doesn't need that information)
+
+my $output = "$FindBin::RealBin/perlmod/Fink/FinkVersion.pm";
+my $input = $output . '.in';
+
+copy("$input", "$output") or die "Copy failed: $!";
+
require Fink::Bootstrap;
### which package are we injecting?
Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/ChangeLog,v
retrieving revision 1.499
retrieving revision 1.500
diff -u -d -r1.499 -r1.500
--- ChangeLog 1 Apr 2009 03:06:33 -0000 1.499
+++ ChangeLog 1 Apr 2009 04:46:21 -0000 1.500
@@ -2,6 +2,11 @@
* setup.sh: FinkVersion.pm.in no longer needs @BASEPATH@ substitution,
and fink.8.in no longer needs @VERSION@ substitution.
+ * inject.pl: create FinkVersion.pm out of FinkVersion.pm.in before
+ loading Fink::Bootstrap. Because this copy of fink is only present
+ in order to run Fink::Bootstrap::inject_packages(), we don't care
+ about the values of @VERSION@ or @ARCHITECTURE@ -- the actual values
+ are not needed -- so we leave those strings as is.
2009-03-30 Daniel Macks <[email protected]>
------------------------------------------------------------------------------
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs