commit:     8db352582467fddce2faaaf9a623f9003f73e80e
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 27 13:41:39 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 15:03:10 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8db35258

sys-boot/plymouth: Don't run eautoreconf in src_configure (QA fix).

Converted myconf variable in an array.

Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7299

 sys-boot/plymouth/plymouth-0.9.3-r1.ebuild | 39 +++++++++++++++++-------------
 sys-boot/plymouth/plymouth-0.9.3.ebuild    | 37 ++++++++++++++++------------
 sys-boot/plymouth/plymouth-9999.ebuild     | 37 ++++++++++++++++------------
 3 files changed, 64 insertions(+), 49 deletions(-)

diff --git a/sys-boot/plymouth/plymouth-0.9.3-r1.ebuild 
b/sys-boot/plymouth/plymouth-0.9.3-r1.ebuild
index d73c2b13a9f..07707fbd471 100644
--- a/sys-boot/plymouth/plymouth-0.9.3-r1.ebuild
+++ b/sys-boot/plymouth/plymouth-0.9.3-r1.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
@@ -52,23 +52,28 @@ PATCHES=(
        "${FILESDIR}"/0.9.3-glibc-sysmacros.patch
 )
 
-src_configure() {
-       local myconf
-       myconf="--with-system-root-install=no
-       --localstatedir=/var
-       --without-rhgb-compat-link
-       --enable-documentation
-       --enable-systemd-integration
-       --with-systemdunitdir="$(systemd_get_systemunitdir)"
-       $(use_enable !static-libs shared)
-       $(use_enable static-libs static)
-       $(use_enable debug tracing)
-       $(use_enable gtk gtk)
-       $(use_enable libkms drm)
-       $(use_enable pango)
-       $(use_enable gdm gdm-transition)"
+src_prepare() {
+       default
        eautoreconf
-       econf ${myconf}
+}
+
+src_configure() {
+       local myconf=(
+               --with-system-root-install=no
+               --localstatedir=/var
+               --without-rhgb-compat-link
+               --enable-documentation
+               --enable-systemd-integration
+               --with-systemdunitdir="$(systemd_get_systemunitdir)"
+               $(use_enable !static-libs shared)
+               $(use_enable static-libs static)
+               $(use_enable debug tracing)
+               $(use_enable gtk gtk)
+               $(use_enable libkms drm)
+               $(use_enable pango)
+               $(use_enable gdm gdm-transition)
+       )
+       econf "${myconf[@]}"
 }
 
 src_install() {

diff --git a/sys-boot/plymouth/plymouth-0.9.3.ebuild 
b/sys-boot/plymouth/plymouth-0.9.3.ebuild
index ea9aa1bd7d6..75326f75a37 100644
--- a/sys-boot/plymouth/plymouth-0.9.3.ebuild
+++ b/sys-boot/plymouth/plymouth-0.9.3.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
@@ -49,22 +49,27 @@ DOC_CONTENTS="
 PATCHES=(
 )
 
-src_configure() {
-       local myconf
-       myconf="--with-system-root-install=no
-       --localstatedir=/var
-       --without-rhgb-compat-link
-       --enable-systemd-integration
-       --with-systemdunitdir="$(systemd_get_systemunitdir)"
-       $(use_enable !static-libs shared)
-       $(use_enable static-libs static)
-       $(use_enable debug tracing)
-       $(use_enable gtk gtk)
-       $(use_enable libkms drm)
-       $(use_enable pango)
-       $(use_enable gdm gdm-transition)"
+src_prepare() {
+       default
        eautoreconf
-       econf ${myconf}
+}
+
+src_configure() {
+       local myconf=(
+               --with-system-root-install=no
+               --localstatedir=/var
+               --without-rhgb-compat-link
+               --enable-systemd-integration
+               --with-systemdunitdir="$(systemd_get_systemunitdir)"
+               $(use_enable !static-libs shared)
+               $(use_enable static-libs static)
+               $(use_enable debug tracing)
+               $(use_enable gtk gtk)
+               $(use_enable libkms drm)
+               $(use_enable pango)
+               $(use_enable gdm gdm-transition)
+       )
+       econf "${myconf[@]}"
 }
 
 src_install() {

diff --git a/sys-boot/plymouth/plymouth-9999.ebuild 
b/sys-boot/plymouth/plymouth-9999.ebuild
index 49ce1012fe8..375f98aabb3 100644
--- a/sys-boot/plymouth/plymouth-9999.ebuild
+++ b/sys-boot/plymouth/plymouth-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
@@ -50,22 +50,27 @@ PATCHES=(
        "${FILESDIR}"/0.9.3-glibc-sysmacros.patch
 )
 
-src_configure() {
-       local myconf
-       myconf="--with-system-root-install=no
-       --localstatedir=/var
-       --without-rhgb-compat-link
-       --enable-systemd-integration
-       --with-systemdunitdir="$(systemd_get_systemunitdir)"
-       $(use_enable !static-libs shared)
-       $(use_enable static-libs static)
-       $(use_enable debug tracing)
-       $(use_enable gtk gtk)
-       $(use_enable libkms drm)
-       $(use_enable pango)
-       $(use_enable gdm gdm-transition)"
+src_prepare() {
+       default
        eautoreconf
-       econf ${myconf}
+}
+
+src_configure() {
+       local myconf=(
+               --with-system-root-install=no
+               --localstatedir=/var
+               --without-rhgb-compat-link
+               --enable-systemd-integration
+               --with-systemdunitdir="$(systemd_get_systemunitdir)"
+               $(use_enable !static-libs shared)
+               $(use_enable static-libs static)
+               $(use_enable debug tracing)
+               $(use_enable gtk gtk)
+               $(use_enable libkms drm)
+               $(use_enable pango)
+               $(use_enable gdm gdm-transition)
+       )
+       econf "${myconf[@]}"
 }
 
 src_install() {

Reply via email to