diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-12-06 20:31:54 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-12-06 20:32:47 +0100 |
commit | 0df82ecc004fe78847092bddc7b6d98d68add5d5 (patch) | |
tree | 1d02ac3f0dbec5464b4f6b5faeec1225731df1f3 /app-mobilephone | |
parent | net-misc/cmst: version bump (diff) | |
download | gentoo-0df82ecc004fe78847092bddc7b6d98d68add5d5.tar.gz gentoo-0df82ecc004fe78847092bddc7b6d98d68add5d5.tar.bz2 gentoo-0df82ecc004fe78847092bddc7b6d98d68add5d5.zip |
app-mobilephone/yaps: Fix global scope use call, #566526
Diffstat (limited to 'app-mobilephone')
-rw-r--r-- | app-mobilephone/yaps/yaps-0.96-r5.ebuild | 9 |
1 files 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 |