aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/jack/files/remove-wrong-host-test.patch
blob: 54c4a833f70a68b0b32cbf9226796b5fb11a50cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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