aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch')
-rw-r--r--meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch42
1 files changed, 21 insertions, 21 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 1bf863dfa2..c7a6e51e76 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
@@ -13,31 +13,31 @@ Fix configure to accept "--prefix=" (a blank prefix).
;;
--libdir=*)
libdir="${optval}"
-@@ -471,13 +473,23 @@
-
+@@ -587,13 +587,23 @@ process_cmdline() {
+ }
post_process_common_cmdline() {
-- prefix="${prefix:-/usr/local}"
-+ if [ "$prefixset" != "1" ]
-+ then
-+ prefix=/usr/local
-+ fi
+- prefix="${prefix:-/usr/local}"
++ if [ "$prefixset" != "1" ]
++ then
++ prefix=/usr/local
++ fi
+
-+ # Strip trailing slash
- prefix="${prefix%/}"
++ # 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
+ 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
++ case "$libdir" in
++ "${prefix}/"*) ;;
++ *)
++ die "Libdir ${libdir} must be a subdirectory of ${prefix}"
++ ;;
++ esac
}
-
+ post_process_cmdline() {