Update of /cvsroot/fink/fink/t/Config
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2477/t/Config

Modified Files:
        ChangeLog exports.t 
Log Message:
Store Architecture and Debarch strings in $config object instead of
hard-coded and as a Config global variable. Now we can lie about our
arch! But prohibit compiling and other alterations of local system if
we are not using the native arch.


Index: exports.t
===================================================================
RCS file: /cvsroot/fink/fink/t/Config/exports.t,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- exports.t   25 May 2005 02:50:33 -0000      1.3
+++ exports.t   4 Apr 2006 22:45:44 -0000       1.4
@@ -18,7 +18,7 @@
     package Check::ExportOK;
     our @optional_exports;
     BEGIN {
-        @optional_exports = qw($config $basepath $libpath $debarch     
+        @optional_exports = qw($config $basepath $libpath
                                $distribution $buildpath
                                get_option set_options
                               );
@@ -31,9 +31,6 @@
     # need a libpath() method
     ::is( $libpath,  $basepath."/lib/fink" );
 
-    # need a debarch() method
-    ::is( $debarch,   'darwin-'.Fink::Services::get_arch );
-
     # need a buildpath() method
     ::is( $buildpath, $config->param_default("Buildpath", 
"$basepath/src/fink.build") );
           

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/t/Config/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ChangeLog   25 May 2005 02:50:33 -0000      1.4
+++ ChangeLog   4 Apr 2006 22:45:44 -0000       1.5
@@ -1,3 +1,7 @@
+2006-04-03  Daniel Macks  <[EMAIL PROTECTED]>
+
+       * exports.t: Fink::Config no longer has public/exported $debarch var
+
 2005-05-24  Dave Vasilevsky  <[EMAIL PROTECTED]>
 
        * exports.t: Use new default buildpath.



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