diff options
author | Angelo Arrifano <miknix@gentoo.org> | 2009-01-10 03:52:53 +0000 |
---|---|---|
committer | Angelo Arrifano <miknix@gentoo.org> | 2009-01-10 03:52:53 +0000 |
commit | 182ee435a24bbd1e69059670d1c6bff38e488d5e (patch) | |
tree | 6e19edca0e1388eb1f90201411e31153ed583459 /x11-libs | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-182ee435a24bbd1e69059670d1c6bff38e488d5e.tar.gz gentoo-2-182ee435a24bbd1e69059670d1c6bff38e488d5e.tar.bz2 gentoo-2-182ee435a24bbd1e69059670d1c6bff38e488d5e.zip |
Workaround to cross-compile.
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r5 x86_64)
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/liblbxutil/ChangeLog | 7 | ||||
-rw-r--r-- | x11-libs/liblbxutil/liblbxutil-1.0.1.ebuild | 20 |
2 files changed, 22 insertions, 5 deletions
diff --git a/x11-libs/liblbxutil/ChangeLog b/x11-libs/liblbxutil/ChangeLog index 3bc76cc67a2a..1aa6fbb9d5d7 100644 --- a/x11-libs/liblbxutil/ChangeLog +++ b/x11-libs/liblbxutil/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-libs/liblbxutil -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/liblbxutil/ChangeLog,v 1.28 2006/07/19 13:39:15 gmsoft Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/liblbxutil/ChangeLog,v 1.29 2009/01/10 03:52:53 miknix Exp $ + + 10 Jan 2009; <miknix@gentoo.org> liblbxutil-1.0.1.ebuild: + Workaround to cross-compile. 19 Jul 2006; Guy Martin <gmsoft@gentoo.org> liblbxutil-1.0.1.ebuild: Stable on hppa. diff --git a/x11-libs/liblbxutil/liblbxutil-1.0.1.ebuild b/x11-libs/liblbxutil/liblbxutil-1.0.1.ebuild index 645b22245869..ca63fb3af2b4 100644 --- a/x11-libs/liblbxutil/liblbxutil-1.0.1.ebuild +++ b/x11-libs/liblbxutil/liblbxutil-1.0.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/liblbxutil/liblbxutil-1.0.1.ebuild,v 1.8 2006/09/10 09:11:12 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/liblbxutil/liblbxutil-1.0.1.ebuild,v 1.9 2009/01/10 03:52:53 miknix Exp $ # Must be before x-modular eclass is inherited #SNAPSHOT="yes" -inherit x-modular +inherit x-modular toolchain-funcs DESCRIPTION="X.Org lbxutil library" @@ -14,3 +14,17 @@ KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" RDEPEND="" DEPEND="${RDEPEND} x11-proto/xextproto" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + + if tc-is-cross-compiler; then + echo 'mkg3states_LINK = '"$(tc-getBUILD_CC)"' -o mkg3states' \ + '$(srcdir)/image/mkg3states.c \#' >> \ + src/Makefile.am || die "Cannot hack Makefile.am to x-compile." + fi + + eautoreconf +} |