summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2017-01-21 18:19:43 +0300
committerMichael Palimaka <kensington@gentoo.org>2017-01-30 04:01:27 +1100
commit381d1c968ab2b336f231da6d8ce9e12a8b3bb42a (patch)
treea87cfab49ad6d0a08f7ce70e3283302a27a235f0 /app-i18n/enca
parentdev-python/Babel: dropped ~ia64-linux (diff)
downloadgentoo-381d1c968ab2b336f231da6d8ce9e12a8b3bb42a.tar.gz
gentoo-381d1c968ab2b336f231da6d8ce9e12a8b3bb42a.tar.bz2
gentoo-381d1c968ab2b336f231da6d8ce9e12a8b3bb42a.zip
app-i18n/enca: use common notation in string comparisons in 1.19-r1
Prevents me from trying to remember why it wasn't done the usual way. The reason is still unknown, because this is a ditto change: https://www.gnu.org/software/bash/manual/html_node/Conditional-Constructs.html Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-i18n/enca')
-rw-r--r--app-i18n/enca/enca-1.19-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-i18n/enca/enca-1.19-r1.ebuild b/app-i18n/enca/enca-1.19-r1.ebuild
index b9cf4b79456d..8fbddd15cc3d 100644
--- a/app-i18n/enca/enca-1.19-r1.ebuild
+++ b/app-i18n/enca/enca-1.19-r1.ebuild
@@ -41,7 +41,7 @@ src_prepare() {
multilib_src_configure() {
# Workaround GCC-4.8 brokenness. See Gentoo bug 501386.
- if tc-is-gcc && [[ $(gcc-version) = '4.8' ]]; then
+ if tc-is-gcc && [[ $(gcc-version) == "4.8" ]]; then
replace-flags -O[3-9] -O2
fi