Update of /cvsroot/fink/fink/perlmod/Fink
In directory vz-cvs-3.sog:/tmp/cvs-serv27830
Modified Files:
ChangeLog Validation.pm
Log Message:
Catch headers in opt/ and other buried places for BDO requirement test
Index: Validation.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Validation.pm,v
retrieving revision 1.336
retrieving revision 1.337
diff -u -d -r1.336 -r1.337
--- Validation.pm 15 Apr 2011 06:53:32 -0000 1.336
+++ Validation.pm 26 May 2011 19:24:44 -0000 1.337
@@ -1437,7 +1437,7 @@
# - installation of .elc files
# - (it's now OK to install files directly into
# /sw/share/emacs/site-lisp, so we no longer check for this)
-# - BuildDependsOnly: if package stores files in /sw/include, it should
+# - BuildDependsOnly: if package stores files an include/ dir, it should
# declare BuildDependsOnly true
# - Check presence and execute-flag on executable specified in daemonicfile
# - If a package contains a daemonicfile, it should Depends:daemonic
@@ -1657,7 +1657,7 @@
}
# track whether BuildDependsOnly will be needed
- if ($filename =~/^$basepath\/include\// && !-d
$File::Find::name) {
+ if ($filename =~/\/include\// && !-d $File::Find::name) {
$installed_headers = 1;
}
@@ -1901,7 +1901,7 @@
# the warning is not issued
if ($installed_headers and $installed_ld_libs) {
if (!exists $deb_control->{builddependsonly} or
$deb_control->{builddependsonly} =~ /Undefined/) {
- print "Error: Headers installed in $basepath/include,
as well as a dylib, but package does not declare BuildDependsOnly to be true
(or false)\n";
+ print "Error: Headers installed (files in an include/
directory), as well as a .dylib file, but package does not declare
BuildDependsOnly to be true (or false)\n";
$looks_good = 0;
}
}
Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1710
retrieving revision 1.1711
diff -u -d -r1.1710 -r1.1711
--- ChangeLog 25 May 2011 00:20:44 -0000 1.1710
+++ ChangeLog 26 May 2011 19:24:43 -0000 1.1711
@@ -1,8 +1,12 @@
-2011-05-24 Alexander Hansen <[email protected]>
+2011-05-26 Daniel Macks <[email protected]>
- * PkgVersion.pm: add Fink distribution and Xcode version to
+ * Validation.pm: packages may have buried include/ headers dir
+
+2011-05-24 Alexander Hansen <[email protected]>
+
+ * PkgVersion.pm: add Fink distribution and Xcode version to
error output. Don't suggest emailing maintainer for packages
- which are maintained by the project. Print out suggestions
+ which are maintained by the project. Print out suggestions
for what to post in a bug report, from Hanspeter Niederstrasser.
2011-05-17 Daniel Macks <[email protected]>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs