SVN: toys/tools/cleanbuild/findbr
sparky
sparky at pld-linux.org
Sun May 23 20:43:09 CEST 2010
Author: sparky
Date: Sun May 23 20:43:09 2010
New Revision: 11485
Modified:
toys/tools/cleanbuild/findbr
Log:
- detect java jars and missing iconv package
Modified: toys/tools/cleanbuild/findbr
==============================================================================
--- toys/tools/cleanbuild/findbr (original)
+++ toys/tools/cleanbuild/findbr Sun May 23 20:43:09 2010
@@ -344,6 +344,9 @@
if ( m{configure: error: XML::Parser perl module is required for intltool} ) {
add_br( "perl-XML-Parser" );
}
+ if ( m{iconv: conversion from `\S+' is not supported} ) {
+ add_br( "iconv" );
+ }
if ( m{ (\S+) does not appear in AM_CONDITIONAL$} ) {
my $macro = $1;
@@ -436,6 +439,11 @@
if ( m{Unable to find a javac compiler;$} ) {
add_br( "jdk" );
}
+ if ( m{Could not find (\S+) Java extension for this JVM$} ) {
+ my $jar = $1;
+ warn "Looking for jar file: $jar\n";
+ poldek_file( "/usr/share/java/$jar.jar", "*/$jar.jar" )
+ }
if ( m{^-- The following OPTIONAL packages could NOT be located on your system} ) {
More information about the pld-cvs-commit
mailing list