Update of /cvsroot/fink/fink/perlmod/Fink
In directory sc8-pr-cvs17:/tmp/cvs-serv25986/perlmod/Fink

Modified Files:
        ChangeLog VirtPackage.pm 
Log Message:
fix the 64-bit check

Index: VirtPackage.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/VirtPackage.pm,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -d -r1.131 -r1.132
--- VirtPackage.pm      13 Jun 2007 22:20:39 -0000      1.131
+++ VirtPackage.pm      19 Jul 2007 02:29:55 -0000      1.132
@@ -173,7 +173,7 @@
 
 # different sysctl variables for intel and ppc
        my $is64bit = 0;
-       if (open(SYSCTL, 'sysctl -a')) {
+       if (open(SYSCTL, 'sysctl -a |')) {
                my ($key, $value);
                while (<SYSCTL>) {
                        ($key, $value) = $_ =~ /^(\S+)\s*\:\s*(.*?)\s*$/;

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1480
retrieving revision 1.1481
diff -u -d -r1.1480 -r1.1481
--- ChangeLog   16 Jul 2007 02:32:35 -0000      1.1480
+++ ChangeLog   19 Jul 2007 02:29:55 -0000      1.1481
@@ -1,3 +1,7 @@
+2007-07-18  Benjamin Reed  <[EMAIL PROTECTED]>
+
+       * VirtPackage.pm: fix sysctl call to actually be used  ;)
+
 2007-07-15  Daniel Macks  <[EMAIL PROTECTED]>
 
        * Validation.pm: Don't complain if a valid .dylib filename is also


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to