diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-07 18:44:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-07 18:44:07 +0000 |
commit | 5001a6c7b6da2956f5b17c695b1e0059dc7b8de5 (patch) | |
tree | 0528a53855a7ec96d20cde9edb9031aab030224c /net-irc/weechat/weechat-9999.ebuild | |
parent | a8b0d35ab742f31538d515dea39716e566d533c0 (diff) |
gentoo resync : 07.01.2018
Diffstat (limited to 'net-irc/weechat/weechat-9999.ebuild')
-rw-r--r-- | net-irc/weechat/weechat-9999.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net-irc/weechat/weechat-9999.ebuild b/net-irc/weechat/weechat-9999.ebuild index 59575ed9f9d6..dd1313a0c730 100644 --- a/net-irc/weechat/weechat-9999.ebuild +++ b/net-irc/weechat/weechat-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -25,7 +25,7 @@ PLUGINS="+alias +buflist +charset +exec +fset +fifo +logger +relay +scripts +spe # dev-lang/v8 was dropped from Gentoo so we can't enable javascript support SCRIPT_LANGS="guile lua +perl php +python ruby tcl" LANGS=" cs de es fr hu it ja pl pt pt_BR ru tr" -IUSE="doc nls +ssl test ${LANGS// / linguas_} ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}" +IUSE="doc nls +ssl test ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" @@ -77,7 +77,7 @@ src_prepare() { # install only required translations local i for i in ${LANGS} ; do - if ! use linguas_${i} ; then + if ! has ${i} ${LINGUAS-${i}} ; then sed -i \ -e "/${i}.po/d" \ po/CMakeLists.txt || die @@ -87,7 +87,7 @@ src_prepare() { # install only required documentation ; en always for i in $(grep add_subdirectory doc/CMakeLists.txt \ | sed -e 's/.*add_subdirectory(\(..\)).*/\1/' -e '/en/d'); do - if ! use linguas_${i} ; then + if ! has ${i} ${LINGUAS-${i}} ; then sed -i \ -e '/add_subdirectory('${i}')/d' \ doc/CMakeLists.txt || die |