From 0df82ecc004fe78847092bddc7b6d98d68add5d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 6 Dec 2015 20:31:54 +0100 Subject: [PATCH] app-mobilephone/yaps: Fix global scope use call, #566526 --- app-mobilephone/yaps/yaps-0.96-r5.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app-mobilephone/yaps/yaps-0.96-r5.ebuild b/app-mobilephone/yaps/yaps-0.96-r5.ebuild index 637640591a3a..0bf5625fee75 100644 --- a/app-mobilephone/yaps/yaps-0.96-r5.ebuild +++ b/app-mobilephone/yaps/yaps-0.96-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -26,9 +26,10 @@ DEPEND=" lua? ( virtual/pkgconfig ) " -if use capi; then - S="${WORKDIR}"/${P}.c4 -fi +src_unpack() { + default + use capi && S="${WORKDIR}"/${P}.c4 +} src_prepare() { # apply patches -- 2.26.2