summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2016-07-25 00:19:05 +0200
committerAmy Winston <amynka@gentoo.org>2016-07-25 00:22:13 +0200
commit66d37ac24aa289a8a747f8cb1839ffe5c650735c (patch)
tree3878bdb638989de1d84fd2b77c974a73fa2bf751 /media-video/vlc/vlc-2.2.9999.ebuild
parentprofiles/license_groups: add opera licenses, bug 573050 (diff)
downloadgentoo-66d37ac24aa289a8a747f8cb1839ffe5c650735c.tar.gz
gentoo-66d37ac24aa289a8a747f8cb1839ffe5c650735c.tar.bz2
gentoo-66d37ac24aa289a8a747f8cb1839ffe5c650735c.zip
Revert "media-video/vlc: fix compiler type check"
This reverts commit d8bdcbc565535962f5579c4693784b1ee1547525.
Diffstat (limited to 'media-video/vlc/vlc-2.2.9999.ebuild')
-rw-r--r--media-video/vlc/vlc-2.2.9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/media-video/vlc/vlc-2.2.9999.ebuild b/media-video/vlc/vlc-2.2.9999.ebuild
index 62cc01049f3a..2ca5cafb01e3 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