Revert "media-video/vlc: fix compiler type check"
authorAmy Winston <amynka@gentoo.org>
Sun, 24 Jul 2016 22:19:05 +0000 (00:19 +0200)
committerAmy Winston <amynka@gentoo.org>
Sun, 24 Jul 2016 22:22:13 +0000 (00:22 +0200)
This reverts commit d8bdcbc565535962f5579c4693784b1ee1547525.

media-video/vlc/vlc-2.2.1-r1.ebuild
media-video/vlc/vlc-2.2.4.ebuild
media-video/vlc/vlc-2.2.9999.ebuild
media-video/vlc/vlc-9999.ebuild

index 76fe9c6433d3195813b32f6cf55a31f88be564fe..b2dbdf0af4ced9d9bfaf79c0befc227842dd019e 100644 (file)
@@ -213,7 +213,7 @@ REQUIRED_USE="
 S="${WORKDIR}/${MY_P}"
 
 pkg_setup() {
-       if [[ "${MERGE_TYPE}" != "binary" && "$(tc-getCC)" == "*gcc*" ]] ; then
+       if [[ "${MERGE_TYPE}" != "binary" && "$(tc-getCC)" == *"gcc"* ]] ; then
                if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then
                        die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754."
                fi
@@ -236,7 +236,7 @@ src_prepare() {
        # config.h:793: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas]
        #
        # https://gcc.gnu.org/c99status.html
-       if [[ "$(tc-getCC)" == "*gcc*" ]] ; then
+       if [[ "$(tc-getCC)" == *"gcc"* ]] ; then
                sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die
        fi
 
index 52dbe3e4657714a3ce08a521259120061f282b29..e874b8c647aa48cfb91fda7f2e3c9e267d93cebc 100644 (file)
@@ -239,7 +239,7 @@ PATCHES=(
 S="${WORKDIR}/${MY_P}"
 
 pkg_setup() {
-       if [[ "${MERGE_TYPE}" != "binary" && "$(tc-getCC)" == "*gcc*" ]] ; then
+       if [[ "${MERGE_TYPE}" != "binary" && "$(tc-getCC)" == *"gcc"* ]] ; then
                if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then
                        die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754."
                fi
@@ -262,7 +262,7 @@ src_prepare() {
        # config.h:793: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas]
        #
        # https://gcc.gnu.org/c99status.html
-       if [[ "$(tc-getCC)" == "*gcc*" ]] ; then
+       if [[ "$(tc-getCC)" == *"gcc"* ]] ; then
                sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die
        fi
 
index 62cc01049f3aa17ccdef81a5b0aa5430ef2bc7f1..2ca5cafb01e342a822d82ce6c1dd7156267dc922 100644 (file)
@@ -209,7 +209,7 @@ REQUIRED_USE="
 S="${WORKDIR}/${MY_P}"
 
 pkg_setup() {
-       if [[ "${MERGE_TYPE}" != "binary" && "$(tc-getCC)" == "*gcc*" ]] ; then
+       if [[ "${MERGE_TYPE}" != "binary" && "$(tc-getCC)" == *"gcc"* ]] ; then
                if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then
                        die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754."
                fi
@@ -232,7 +232,7 @@ src_prepare() {
        # config.h:793: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas]
        #
        # https://gcc.gnu.org/c99status.html
-       if [[ "$(tc-getCC)" == "*gcc*" ]] ; then
+       if [[ "$(tc-getCC)" == *"gcc"* ]] ; then
                sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die
        fi
 
index 1b4e268fc94c0a4641d289d15f6308681466a0de..0ad493800418766bd9a8f0e567fe44f9abafa44a 100644 (file)
@@ -212,7 +212,7 @@ REQUIRED_USE="
 S="${WORKDIR}/${MY_P}"
 
 pkg_setup() {
-       if [[ "${MERGE_TYPE}" != "binary" && "$(tc-getCC)" == "*gcc*" ]] ; then
+       if [[ "${MERGE_TYPE}" != "binary" && "$(tc-getCC)" == *"gcc"* ]] ; then
                if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then
                        die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754."
                fi
@@ -235,7 +235,7 @@ src_prepare() {
        # config.h:793: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas]
        #
        # https://gcc.gnu.org/c99status.html
-       if [[ "$(tc-getCC)" == "*gcc*" ]] ; then
+       if [[ "$(tc-getCC)" == *"gcc"* ]] ; then
                sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die
        fi