app-i18n/ibus-qt: don't get_libdir called in global scope
authorYixun Lan <dlan@gentoo.org>
Tue, 20 Sep 2016 03:26:06 +0000 (11:26 +0800)
committerYixun Lan <dlan@gentoo.org>
Tue, 20 Sep 2016 03:28:20 +0000 (11:28 +0800)
Gentoo-Bug: 593390

Package-Manager: portage-2.3.0

app-i18n/ibus-qt/ibus-qt-1.3.1.ebuild
app-i18n/ibus-qt/ibus-qt-1.3.2.ebuild
app-i18n/ibus-qt/ibus-qt-1.3.3.ebuild

index 407d4d1a200272e2e603e9fbdefd6a1267cd3b32..c4d864b65e873b5376f6b3a837efa722e358b94a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -30,7 +30,11 @@ S="${WORKDIR}/${MY_P}"
 
 DOCS="AUTHORS README TODO"
 
-mycmakeargs="-DLIBDIR=$(get_libdir) -DDOCDIR=${EPREFIX}/usr/share/doc/${PF} all"
+src_configure() {
+       local mycmakeargs=( -DLIBDIR=$(get_libdir) -DDOCDIR=${EPREFIX}/usr/share/doc/${PF} all )
+
+       cmake-utils_src_configure
+}
 
 src_prepare() {
        epatch "${FILESDIR}/${PN}-1.2.0.20091217-doc.patch" \
index f3088c3ce7c329a07524356a83a0a5f1def1127a..8088fdcd625ac283ff430618f2063790ada3cf1f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -30,7 +30,11 @@ S="${WORKDIR}/${MY_P}"
 
 DOCS="AUTHORS README TODO"
 
-mycmakeargs="-DLIBDIR=$(get_libdir) -DDOCDIR=${EPREFIX}/usr/share/doc/${PF} all"
+src_configure() {
+       local mycmakeargs=( -DLIBDIR=$(get_libdir) -DDOCDIR=${EPREFIX}/usr/share/doc/${PF} all )
+
+       cmake-utils_src_configure
+}
 
 src_prepare() {
        epatch "${FILESDIR}/${PN}-1.2.0.20091217-doc.patch"
index cf130f74ac80a74301c02fe69e1b9f012e1ef4e9..4a7674e98244ba3a305cca991a90b2b8b89abe1b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -29,7 +29,11 @@ DOCS="AUTHORS README TODO"
 
 PATCHES=( "${FILESDIR}"/${PN}-1.3-doc.patch )
 
-mycmakeargs="-DLIBDIR=$(get_libdir) all"
+src_configure() {
+       local mycmakeargs=( -DLIBDIR=$(get_libdir) all )
+
+       cmake-utils_src_configure
+}
 
 src_compile() {
        cmake-utils_src_compile