summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-03-18 20:27:27 +0000
committerChristoph Mende <angelos@gentoo.org>2011-03-18 20:27:27 +0000
commit248d092654ef92c8bb397e8835a02303469fa083 (patch)
tree1208780e463a87dae068ec775b000b36068ac10f /dev-libs/libunicode/libunicode-0.4-r1.ebuild
parentOnly generate /lib symlinks when SYMLINK_LIB is used. (diff)
downloadhistorical-248d092654ef92c8bb397e8835a02303469fa083.tar.gz
historical-248d092654ef92c8bb397e8835a02303469fa083.tar.bz2
historical-248d092654ef92c8bb397e8835a02303469fa083.zip
QA: Respect LDFLAGS (bug #335272)
Package-Manager: portage-2.2.0_alpha27/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libunicode/libunicode-0.4-r1.ebuild')
-rw-r--r--dev-libs/libunicode/libunicode-0.4-r1.ebuild18
1 files changed, 11 insertions, 7 deletions
diff --git a/dev-libs/libunicode/libunicode-0.4-r1.ebuild b/dev-libs/libunicode/libunicode-0.4-r1.ebuild
index d840e3e53962..51f3c165757f 100644
--- a/dev-libs/libunicode/libunicode-0.4-r1.ebuild
+++ b/dev-libs/libunicode/libunicode-0.4-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunicode/libunicode-0.4-r1.ebuild,v 1.33 2009/07/29 22:28:22 vostorga Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunicode/libunicode-0.4-r1.ebuild,v 1.34 2011/03/18 20:27:27 angelos Exp $
-inherit toolchain-funcs
+EAPI=3
+inherit autotools toolchain-funcs
DESCRIPTION="Unicode library"
HOMEPAGE="http://www.gnome.org/"
@@ -13,12 +14,15 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc sparc x86"
IUSE=""
-src_compile() {
- econf || die
- emake CC=$(tc-getCC) || die "make failed"
+src_prepare() {
+ # The build system is too old, regenerate here to fix crossbuild and
+ # respect LDFLAGS and probably other problems too.
+ sed -i -e "/testsuite/d" configure.in || die
+ eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die "dodoc failed"
}
+