commit:     42a1cc501b1af28a8d17413d73a4be4ef1adafcf
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Fri May 31 21:57:38 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun  1 08:15:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42a1cc50

x11-misc/x11vnc: use myconf array for econf args

Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/12071
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 x11-misc/x11vnc/x11vnc-0.9.16-r3.ebuild | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/x11-misc/x11vnc/x11vnc-0.9.16-r3.ebuild 
b/x11-misc/x11vnc/x11vnc-0.9.16-r3.ebuild
index 644cbc1fdbc..752f08e414d 100644
--- a/x11-misc/x11vnc/x11vnc-0.9.16-r3.ebuild
+++ b/x11-misc/x11vnc/x11vnc-0.9.16-r3.ebuild
@@ -53,21 +53,23 @@ src_prepare() {
 
 src_configure() {
        # --without-v4l because of missing video4linux 2.x support wrt #389079
-       econf \
-               --without-v4l \
-               --without-xkeyboard \
-               --without-fbpm \
-               --without-dpms \
-               $(use_with crypt) \
-               $(use_with fbcon fbdev) \
-               $(use_with ssl) \
-               $(use_with ssl crypto) \
-               $(use_with xcomposite) \
-               $(use_with xdamage) \
-               $(use_with xfixes) \
-               $(use_with xinerama) \
-               $(use_with xrandr) \
+       local myconf=(
+               --without-v4l
+               --without-xkeyboard
+               --without-fbpm
+               --without-dpms
+               $(use_with crypt)
+               $(use_with fbcon fbdev)
+               $(use_with ssl)
+               $(use_with ssl crypto)
+               $(use_with xcomposite)
+               $(use_with xdamage)
+               $(use_with xfixes)
+               $(use_with xinerama)
+               $(use_with xrandr)
                $(use_with zeroconf avahi)
+       )
+       econf "${myconf[@]}"
 }
 
 src_install() {

Reply via email to