summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-09-02 18:13:07 +0200
committerJustin Lecher <jlec@gentoo.org>2015-09-02 18:30:35 +0200
commit3992c082d53442fd2d2dd8981e7e0ddfc74552d3 (patch)
tree47dccac20781f9ab56e3e7273a2530ae838dc501 /app-arch/cabextract
parentdev-python/path-py: Version Bump (diff)
downloadgentoo-3992c082d53442fd2d2dd8981e7e0ddfc74552d3.tar.gz
gentoo-3992c082d53442fd2d2dd8981e7e0ddfc74552d3.tar.bz2
gentoo-3992c082d53442fd2d2dd8981e7e0ddfc74552d3.zip
app-arch/cabextract: Move export to local scope
Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'app-arch/cabextract')
-rw-r--r--app-arch/cabextract/cabextract-1.6.ebuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/app-arch/cabextract/cabextract-1.6.ebuild b/app-arch/cabextract/cabextract-1.6.ebuild
index a56604b1865..f9c458b3d97 100644
--- a/app-arch/cabextract/cabextract-1.6.ebuild
+++ b/app-arch/cabextract/cabextract-1.6.ebuild
@@ -3,6 +3,7 @@
# $Id$
EAPI=5
+
inherit toolchain-funcs
DESCRIPTION="Extracts files from Microsoft cabinet archive files"
@@ -16,17 +17,19 @@ IUSE="extras"
RDEPEND="extras? ( dev-lang/perl )"
-# the code attempts to set up a fnmatch replacement, but then fails to code
-# it properly leading to undefined references to rpl_fnmatch(). This may be
-# removed in the future if building still works by setting "yes" to "no".
-export ac_cv_func_fnmatch_works=yes
+src_prepare() {
+ # the code attempts to set up a fnmatch replacement, but then fails to code
+ # it properly leading to undefined references to rpl_fnmatch(). This may be
+ # removed in the future if building still works by setting "yes" to "no".
+ export ac_cv_func_fnmatch_works=yes
+}
src_compile() {
emake AR="$(tc-getAR)"
}
src_install() {
- emake DESTDIR="${D}" install
+ default
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO doc/magic
dohtml doc/wince_cab_format.html
if use extras; then