summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-06 20:31:54 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-06 20:32:47 +0100
commit0df82ecc004fe78847092bddc7b6d98d68add5d5 (patch)
tree1d02ac3f0dbec5464b4f6b5faeec1225731df1f3 /app-mobilephone
parentnet-misc/cmst: version bump (diff)
downloadgentoo-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.ebuild9
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 637640591a3..0bf5625fee7 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