media-video/ffmpeg: fix mingw32 CHOST match in src_configure
authorIan Stakenvicius <axs@gentoo.org>
Thu, 21 Apr 2016 17:28:08 +0000 (13:28 -0400)
committerIan Stakenvicius <axs@gentoo.org>
Thu, 21 Apr 2016 17:28:37 +0000 (13:28 -0400)
The CHOST-matct was mingw32* but in a crossdev mingw32 is usually the CHOST's
suffix. Adusted the case statement match to be "*mingw32*" , following the
same pattern as the others.  Aballier gave the nod for the commit.

Package-Manager: portage-2.2.26

media-video/ffmpeg/ffmpeg-2.8.6.ebuild
media-video/ffmpeg/ffmpeg-3.0.1.ebuild
media-video/ffmpeg/ffmpeg-9999.ebuild

index aa6bcd4fa2cfa4887eedf09b360b601c51005cbd..7029e07823a7be58407f9d38433511437e35e5c8 100644 (file)
@@ -393,7 +393,7 @@ multilib_src_configure() {
                        *freebsd*)
                                myconf+=( --target-os=freebsd )
                                ;;
-                       mingw32*)
+                       *mingw32*)
                                myconf+=( --target-os=mingw32 )
                                ;;
                        *linux*)
index fd5dd6f44171ff213c242fac1f9ad85b8a4a68ea..6abf75cef9a46a470d318a41227645bda719bdba 100644 (file)
@@ -394,7 +394,7 @@ multilib_src_configure() {
                        *freebsd*)
                                myconf+=( --target-os=freebsd )
                                ;;
-                       mingw32*)
+                       *mingw32*)
                                myconf+=( --target-os=mingw32 )
                                ;;
                        *linux*)
index de85203c2196de00c8a0a659ab481fbb25dc0292..5a5c2e00f4a5aea1f5ec9212a9b6d0eda8925171 100644 (file)
@@ -393,7 +393,7 @@ multilib_src_configure() {
                        *freebsd*)
                                myconf+=( --target-os=freebsd )
                                ;;
-                       mingw32*)
+                       *mingw32*)
                                myconf+=( --target-os=mingw32 )
                                ;;
                        *linux*)