summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-28 20:33:31 +0000
committerMike Frysinger <vapier@gentoo.org>2010-09-28 20:33:31 +0000
commit9b904db03d6bb259b4fb30668a3de169ef5202f4 (patch)
treec2362cfe0c7567debe41d7148aa27748c7c6e9a2 /app-arch
parentMarking i18n-0.3.7 ~ppc for bug 321283 (diff)
downloadgentoo-2-9b904db03d6bb259b4fb30668a3de169ef5202f4.tar.gz
gentoo-2-9b904db03d6bb259b4fb30668a3de169ef5202f4.tar.bz2
gentoo-2-9b904db03d6bb259b4fb30668a3de169ef5202f4.zip
Fix building for systems with crappy fnmatch and/or cross-compiling.
(Portage version: 2.2_rc86/cvs/Linux x86_64)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/cabextract/ChangeLog5
-rw-r--r--app-arch/cabextract/cabextract-1.3.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/app-arch/cabextract/ChangeLog b/app-arch/cabextract/ChangeLog
index 997e3e3dc681..2da6c89b5672 100644
--- a/app-arch/cabextract/ChangeLog
+++ b/app-arch/cabextract/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-arch/cabextract
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/cabextract/ChangeLog,v 1.63 2010/08/03 17:19:45 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/cabextract/ChangeLog,v 1.64 2010/09/28 20:33:31 vapier Exp $
+
+ 28 Sep 2010; Mike Frysinger <vapier@gentoo.org> cabextract-1.3.ebuild:
+ Fix building for systems with crappy fnmatch and/or cross-compiling.
03 Aug 2010; Brent Baude <ranger@gentoo.org> cabextract-1.3.ebuild:
Marking cabextract-1.3 ppc64 for bug 329891
diff --git a/app-arch/cabextract/cabextract-1.3.ebuild b/app-arch/cabextract/cabextract-1.3.ebuild
index ee91dec90f3d..760243b6d379 100644
--- a/app-arch/cabextract/cabextract-1.3.ebuild
+++ b/app-arch/cabextract/cabextract-1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/cabextract/cabextract-1.3.ebuild,v 1.6 2010/08/03 17:19:45 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/cabextract/cabextract-1.3.ebuild,v 1.7 2010/09/28 20:33:31 vapier Exp $
DESCRIPTION="Extracts files from Microsoft .cab files"
HOMEPAGE="http://www.cabextract.org.uk/"
@@ -13,6 +13,11 @@ IUSE="extra-tools"
RDEPEND="extra-tools? ( 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_install() {
emake DESTDIR="${D}" install || die "emake failed"
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO doc/magic