diff options
-rw-r--r-- | meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch b/meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch index c7a6e51e76..6ad7f2b478 100644 --- a/meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch +++ b/meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch | |||
@@ -1,19 +1,28 @@ | |||
1 | Upstream: not yet | 1 | From dc0a5c3d2dd4e79d12a150a246a95c4dc88326f1 Mon Sep 17 00:00:00 2001 |
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Tue, 16 Aug 2011 16:04:35 +0200 | ||
4 | Subject: [PATCH] Upstream: not yet | ||
2 | 5 | ||
3 | Fix configure to accept "--prefix=" (a blank prefix). | 6 | Fix configure to accept "--prefix=" (a blank prefix). |
4 | 7 | ||
5 | --- libvpx-0.9.1/build/make/configure.sh.orig 2010-06-17 09:08:56.000000000 -0400 | 8 | --- |
6 | +++ libvpx-0.9.1/build/make/configure.sh 2010-09-23 14:27:48.000000000 -0400 | 9 | build/make/configure.sh | 20 ++++++++++++++++---- |
7 | @@ -444,6 +444,8 @@ | 10 | 1 file changed, 16 insertions(+), 4 deletions(-) |
11 | |||
12 | diff --git a/build/make/configure.sh b/build/make/configure.sh | ||
13 | index 007e020..04d5cbf 100644 | ||
14 | --- a/build/make/configure.sh | ||
15 | +++ b/build/make/configure.sh | ||
16 | @@ -581,6 +581,8 @@ process_common_cmdline() { | ||
8 | ;; | 17 | ;; |
9 | --prefix=*) | 18 | --prefix=*) |
10 | prefix="${optval}" | 19 | prefix="${optval}" |
11 | + # Distinguish between "prefix not set" and "prefix set to ''" | 20 | + # Distinguish between "prefix not set" and "prefix set to ''" |
12 | + prefixset=1 | 21 | + prefixset=1 |
13 | ;; | 22 | ;; |
14 | --libdir=*) | 23 | --libdir=*) |
15 | libdir="${optval}" | 24 | libdir="${optval}" |
16 | @@ -587,13 +587,23 @@ process_cmdline() { | 25 | @@ -614,13 +616,23 @@ process_cmdline() { |
17 | } | 26 | } |
18 | 27 | ||
19 | post_process_common_cmdline() { | 28 | post_process_common_cmdline() { |