summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2016-07-24 12:00:23 +0200
committerAmy Winston <amynka@gentoo.org>2016-07-24 12:00:23 +0200
commitd8bdcbc565535962f5579c4693784b1ee1547525 (patch)
treea1b72390a1def1fcfb89d7e39d5c5ac289614077 /media-video/vlc
parentdev-perl/Path-Tiny: Mark ~hppa (bug #577646). (diff)
downloadgentoo-d8bdcbc565535962f5579c4693784b1ee1547525.tar.gz
gentoo-d8bdcbc565535962f5579c4693784b1ee1547525.tar.bz2
gentoo-d8bdcbc565535962f5579c4693784b1ee1547525.zip
media-video/vlc: fix compiler type check
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-video/vlc')
-rw-r--r--media-video/vlc/vlc-2.2.1-r1.ebuild4
-rw-r--r--media-video/vlc/vlc-2.2.4.ebuild4
-rw-r--r--media-video/vlc/vlc-2.2.9999.ebuild4
-rw-r--r--media-video/vlc/vlc-9999.ebuild4
4 files changed, 8 insertions, 8 deletions
diff --git a/media-video/vlc/vlc-2.2.1-r1.ebuild b/media-video/vlc/vlc-2.2.1-r1.ebuild
index b2dbdf0af4ce..76fe9c6433d3 100644
--- a/media-video/vlc/vlc-2.2.1-r1.ebuild
+++ b/media-video/vlc/vlc-2.2.1-r1.ebuild
@@ -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
diff --git a/media-video/vlc/vlc-2.2.4.ebuild b/media-video/vlc/vlc-2.2.4.ebuild
index 39681588dcea..35b42eba6a2b 100644
--- a/media-video/vlc/vlc-2.2.4.ebuild
+++ b/media-video/vlc/vlc-2.2.4.ebuild
@@ -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
diff --git a/media-video/vlc/vlc-2.2.9999.ebuild b/media-video/vlc/vlc-2.2.9999.ebuild
index 2ca5cafb01e3..62cc01049f3a 100644
--- a/media-video/vlc/vlc-2.2.9999.ebuild
+++ b/media-video/vlc/vlc-2.2.9999.ebuild
@@ -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
diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild
index 0ad493800418..1b4e268fc94c 100644
--- a/media-video/vlc/vlc-9999.ebuild
+++ b/media-video/vlc/vlc-9999.ebuild
@@ -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