diff options
author | Petr Štetiar <ynezz@true.cz> | 2011-02-26 11:49:06 +0100 |
---|---|---|
committer | Steffen Sledz <sledz@dresearch.de> | 2011-03-02 08:30:21 +0100 |
commit | 348d01a2cbc03bfe961169ddf5c455413e939a47 (patch) | |
tree | a097f8c4029c96f1d47238f19f5a9285b87dafd5 /recipes/jack/files | |
parent | a4bc14d00d4dc7a2e9ba5e20cc23118def135448 (diff) | |
download | openembedded-348d01a2cbc03bfe961169ddf5c455413e939a47.tar.gz |
jack: fix wrong configure check on the build host
| checking existing, conflicting JACK installs...
| You appear to have at least one existing installation of JACK.
| Complete or partial JACK installs exist in: /usr/lib
[...]
NOTE: package jack-0.118.0-r2: task do_configure: Failed
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/jack/files')
-rw-r--r-- | recipes/jack/files/remove-wrong-host-test.patch | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/recipes/jack/files/remove-wrong-host-test.patch b/recipes/jack/files/remove-wrong-host-test.patch new file mode 100644 index 0000000000..54c4a833f7 --- /dev/null +++ b/recipes/jack/files/remove-wrong-host-test.patch @@ -0,0 +1,66 @@ +| checking existing, conflicting JACK installs... +| +| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +| You appear to have at least one existing installation of JACK. +| Complete or partial JACK installs exist in: /usr/lib + +[...] + +NOTE: package jack-0.118.0-r2: task do_configure: Failed + +Index: RELEASE_0_118_0/configure.ac +=================================================================== +--- RELEASE_0_118_0.orig/configure.ac 2011-02-26 06:54:25.711716288 +0100 ++++ RELEASE_0_118_0/configure.ac 2011-02-26 06:54:47.061718126 +0100 +@@ -3,51 +3,6 @@ + + AC_INIT(jackd/jackd.c) + +- +-dnl +-dnl Check for existing JACK installs +-dnl +- +-AC_MSG_CHECKING([existing, conflicting JACK installs]) +-not_overwriting=0 +-installs= +-for dir in /usr/lib /usr/local/lib /opt/lib ; do +- if test -d $dir ; then +- if test $(find $dir/ -name 'libjack.*' 2>/dev/null | wc -l) -gt 0 ; then +- if echo $prefix/lib | grep -vs $dir >/dev/null 2>&1 ; then +- not_overwriting=$(expr $not_overwriting + 1) +- fi +- installs="$installs $dir" +- fi +- fi +-done +- +-if test $not_overwriting -gt 0 ; then +- echo +- echo +- echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" +- echo "You appear to have at least one existing installation of JACK." +- echo +- echo "Complete or partial JACK installs exist in:$installs" +- echo +- echo "Installing this version will leave at least one of these" +- echo "existing installations installed and this will probably break" +- echo "JACK on your machine. " +- echo +- echo "Before building, you should first remove the existing JACK" +- echo "installation(s). " +- echo +- echo "Alternatively use ./configure --prefix=... to force overwriting" +- echo "the existing install." +- echo +- echo "WARNING: ON ANY DEBIAN-DERIVED DISTRIBUTION (Debian, Ubuntu etc)" +- echo "CHANGING THE INSTALLATION PREFIX WILL NOT PRODUCE A WORKING JACK" +- echo "INSTALL. Please contact the distribution packager for JACK and" +- echo "ask them to fix their packaging." +- echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" +- exit 1 +-fi +- + AC_CONFIG_AUX_DIR(config) + AC_CANONICAL_TARGET + |