Update of /cvsroot/fink/fink/perlmod/Fink
In directory 
sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv21090/perlmod/Fink

Modified Files:
        ChangeLog Validation.pm 
Log Message:
Allow DYLIB_STUB as a valid dylib form.

Index: Validation.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Validation.pm,v
retrieving revision 1.322
retrieving revision 1.323
diff -u -d -r1.322 -r1.323
--- Validation.pm       16 Mar 2010 11:09:21 -0000      1.322
+++ Validation.pm       6 May 2010 19:27:45 -0000       1.323
@@ -1664,7 +1664,7 @@
                                        if (open(OTOOL, "$otool -hv '$file' |"))
                                        {
                                                while (my $line = <OTOOL>) {
-                                                       if (my ($type) = $line 
=~ /MH_MAGIC.*\s+DYLIB\s+/) {
+                                                       if (my ($type) = $line 
=~ /MH_MAGIC.*\s+DYLIB(\s+|_STUB\s+)/) {
                                                                if ($filename 
!~ /\.(dylib|jnilib)$/) {
                                                                        print 
"Warning: $filename is a DYLIB but it does not end in .dylib or .jnilib.\n";
                                                                }

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1654
retrieving revision 1.1655
diff -u -d -r1.1654 -r1.1655
--- ChangeLog   16 Mar 2010 11:12:25 -0000      1.1654
+++ ChangeLog   6 May 2010 19:27:44 -0000       1.1655
@@ -1,3 +1,7 @@
+2010-05-06     Alexander Hansen <alexkhan...@users.sourceforge.net>
+
+       * Validation.pm:  Accept DYLIB_STUB as also being a dylib.
+
 2010-03-16  Max Horn <m...@quendi.de>
 
        * Checksum.pm: Fix example to talk about "checksum" types/modules,


------------------------------------------------------------------------------
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to