[projects/cleanbuild] findbr: cmake modules, pkg-config

glen glen at pld-linux.org
Tue Sep 6 17:48:25 CEST 2016


commit 6b04039fb54563f64d53c01c1944a59d652be7d7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Aug 25 00:05:39 2016 +0300

    findbr: cmake modules, pkg-config

 findbr | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/findbr b/findbr
index f31853e..e32557d 100755
--- a/findbr
+++ b/findbr
@@ -273,6 +273,14 @@ while ( $_ = shift @lines ) {
 	}
 
 	if (
+		m{^You need to install the (\S+) module} or
+		m{\*\*\*Error\*\*\*: You must have (\S+) >= (\S+) installed}
+	) {
+		add_br($1);
+		next;
+	}
+
+	if (
 		m{^cannot load such file -- (\S+)} or
 		m{in `require': cannot load such file -- (\S+) \(LoadError\)}
 	) {
@@ -356,6 +364,7 @@ while ( $_ = shift @lines ) {
 		or m{^pkg-config unavailable, build terminated}
 		or m{^\*\*\*Error\*\*\*: You must have pkg-config >= .* installed}
 		or m{^-- Could NOT find PkgConfig \(missing:  PKG_CONFIG_EXECUTABLE\)}
+		or m{exec: "pkg-config": executable file not found in \$PATH}
 	) {
 		add_br( "pkgconfig" );
 		next;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/6b04039fb54563f64d53c01c1944a59d652be7d7



More information about the pld-cvs-commit mailing list