diff options
author | Koen Kooi <koen@openembedded.org> | 2010-10-09 13:34:26 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-10-11 08:55:01 +0200 |
commit | cfcd107b9ec7eeea623b5e1e1d91fafdf09ccb9d (patch) | |
tree | 9b4f219ffd7689a02dd324e4d50fd999b229f3b7 /recipes/webm/libvpx | |
parent | e7632af7a47f67d9c0a1e4f37a2bb4aedae3dec0 (diff) | |
download | openembedded-cfcd107b9ec7eeea623b5e1e1d91fafdf09ccb9d.tar.gz |
libvpx: update to 0.9.2
Diffstat (limited to 'recipes/webm/libvpx')
-rw-r--r-- | recipes/webm/libvpx/libvpx-configure-support-blank-prefix.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes/webm/libvpx/libvpx-configure-support-blank-prefix.patch b/recipes/webm/libvpx/libvpx-configure-support-blank-prefix.patch new file mode 100644 index 0000000000..1bf863dfa2 --- /dev/null +++ b/recipes/webm/libvpx/libvpx-configure-support-blank-prefix.patch @@ -0,0 +1,43 @@ +Upstream: not yet + +Fix configure to accept "--prefix=" (a blank prefix). + +--- libvpx-0.9.1/build/make/configure.sh.orig 2010-06-17 09:08:56.000000000 -0400 ++++ libvpx-0.9.1/build/make/configure.sh 2010-09-23 14:27:48.000000000 -0400 +@@ -444,6 +444,8 @@ + ;; + --prefix=*) + prefix="${optval}" ++ # Distinguish between "prefix not set" and "prefix set to ''" ++ prefixset=1 + ;; + --libdir=*) + libdir="${optval}" +@@ -471,13 +473,23 @@ + + + post_process_common_cmdline() { +- prefix="${prefix:-/usr/local}" ++ if [ "$prefixset" != "1" ] ++ then ++ prefix=/usr/local ++ fi ++ ++ # Strip trailing slash + prefix="${prefix%/}" ++ + libdir="${libdir:-${prefix}/lib}" + libdir="${libdir%/}" +- if [ "${libdir#${prefix}}" = "${libdir}" ]; then +- die "Libdir ${libdir} must be a subdirectory of ${prefix}" +- fi ++ ++ case "$libdir" in ++ "${prefix}/"*) ;; ++ *) ++ die "Libdir ${libdir} must be a subdirectory of ${prefix}" ++ ;; ++ esac + } + + |