summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-19 22:39:38 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-19 22:39:38 +0000
commit6c0a62689ce78e3f887ddf3141d9ecb01b30fec2 (patch)
treebd33fb58965a19af26b325cf5512105daead8dbd /app-text/wv2
parentAdd DEPEND on app-arch/unzip (diff)
downloadgentoo-2-6c0a62689ce78e3f887ddf3141d9ecb01b30fec2.tar.gz
gentoo-2-6c0a62689ce78e3f887ddf3141d9ecb01b30fec2.tar.bz2
gentoo-2-6c0a62689ce78e3f887ddf3141d9ecb01b30fec2.zip
Add patch to respect LDFLAGS.
(Portage version: 2.1_pre6-r4)
Diffstat (limited to 'app-text/wv2')
-rw-r--r--app-text/wv2/ChangeLog6
-rw-r--r--app-text/wv2/files/wv2-0.2.2-respectflags.patch14
-rw-r--r--app-text/wv2/wv2-0.2.2.ebuild13
3 files changed, 31 insertions, 2 deletions
diff --git a/app-text/wv2/ChangeLog b/app-text/wv2/ChangeLog
index 3d9c39b91c44..f488a42a3486 100644
--- a/app-text/wv2/ChangeLog
+++ b/app-text/wv2/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/wv2
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wv2/ChangeLog,v 1.30 2006/02/06 05:29:39 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/wv2/ChangeLog,v 1.31 2006/03/19 22:39:38 flameeyes Exp $
+
+ 19 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/wv2-0.2.2-respectflags.patch, wv2-0.2.2.ebuild:
+ Add patch to respect LDFLAGS.
06 Feb 2006; Aron Griffis <agriffis@gentoo.org> wv2-0.2.2.ebuild:
Mark 0.2.2 stable on ia64
diff --git a/app-text/wv2/files/wv2-0.2.2-respectflags.patch b/app-text/wv2/files/wv2-0.2.2-respectflags.patch
new file mode 100644
index 000000000000..efd123736068
--- /dev/null
+++ b/app-text/wv2/files/wv2-0.2.2-respectflags.patch
@@ -0,0 +1,14 @@
+Index: wv2-0.2.2/configure.in
+===================================================================
+--- wv2-0.2.2.orig/configure.in
++++ wv2-0.2.2/configure.in
+@@ -245,9 +245,6 @@ else
+ AC_MSG_ERROR(* * * No iconv support - unable to continue * * *)
+ fi
+
+-CPPFLAGS=$_cppflags
+-LDFLAGS=$_ldflags
+-
+ AC_SUBST(WV_ICONV_CFLAGS)
+ AC_SUBST(WV_ICONV_LDFLAGS)
+
diff --git a/app-text/wv2/wv2-0.2.2.ebuild b/app-text/wv2/wv2-0.2.2.ebuild
index 73b63473b346..5b70c1ed9148 100644
--- a/app-text/wv2/wv2-0.2.2.ebuild
+++ b/app-text/wv2/wv2-0.2.2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wv2/wv2-0.2.2.ebuild,v 1.11 2006/02/06 05:29:39 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/wv2/wv2-0.2.2.ebuild,v 1.12 2006/03/19 22:39:38 flameeyes Exp $
+
+inherit eutils autotools
DESCRIPTION="Excellent MS Word filter lib, used in most Office suites"
SRC_URI="mirror://sourceforge/wvware/${P}.tar.bz2"
@@ -19,6 +21,15 @@ DEPEND=">=gnome-extra/libgsf-1.8.0
RDEPEND="${DEPEND}
media-gfx/imagemagick"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch "${FILESDIR}/${P}-respectflags.patch"
+
+ eautoreconf
+}
+
src_install() {
einstall || die
}