summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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