Skip to content

Commit

Permalink
app-arch/cabextract: Move export to local scope
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <[email protected]>
  • Loading branch information
jlec committed Sep 2, 2015
1 parent b20b47e commit 3992c08
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions app-arch/cabextract/cabextract-1.6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# $Id$

EAPI=5

inherit toolchain-funcs

DESCRIPTION="Extracts files from Microsoft cabinet archive files"
Expand All @@ -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
Expand Down

0 comments on commit 3992c08

Please sign in to comment.