summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2009-01-10 03:52:53 +0000
committerAngelo Arrifano <miknix@gentoo.org>2009-01-10 03:52:53 +0000
commit31ce0a245ec51214e1c7d07ad6ed4a39086223bd (patch)
tree73b7169a9fa1210cff478e68cf23f92620ba2264 /x11-libs
parentAutomated update of use.local.desc (diff)
downloadhistorical-31ce0a245ec51214e1c7d07ad6ed4a39086223bd.tar.gz
historical-31ce0a245ec51214e1c7d07ad6ed4a39086223bd.tar.bz2
historical-31ce0a245ec51214e1c7d07ad6ed4a39086223bd.zip
Workaround to cross-compile.
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27-gentoo-r5 x86_64
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/liblbxutil/ChangeLog7
-rw-r--r--x11-libs/liblbxutil/Manifest4
-rw-r--r--x11-libs/liblbxutil/liblbxutil-1.0.1.ebuild20
3 files changed, 24 insertions, 7 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/Manifest b/x11-libs/liblbxutil/Manifest
index ea8fada0a976..68fadb0a40dd 100644
--- a/x11-libs/liblbxutil/Manifest
+++ b/x11-libs/liblbxutil/Manifest
@@ -1,4 +1,4 @@
DIST liblbxutil-1.0.1.tar.bz2 242504 RMD160 c30f05119eab8ade950217e2add9af09d3996304 SHA1 91b21ca5f315f844c2f12aba898c4d2c527f5fb6 SHA256 94c31c7090106d3a95e2a7c083961efca1321b970118fe103ab06e5d927b7258
-EBUILD liblbxutil-1.0.1.ebuild 479 RMD160 88b3a1aa3f69a2fc3a295f2216e9251b54d92d92 SHA1 7a41267159abaec4663bbcfc846564e55eceb037 SHA256 09b342c6a9060aa0d102a196613f1b607a5b0b48b3ce3834679b6625b4a3b90b
-MISC ChangeLog 3475 RMD160 f15bd876534431292bb1c54fae0ee950e875a79c SHA1 722d83e8c401f0ed784d1845f17e4fd9e2bac61c SHA256 2836f97af1290999a50fee8d43a9684e0bb7654617e15fa186cb64140f320c78
+EBUILD liblbxutil-1.0.1.ebuild 776 RMD160 2e7320711d6f668e12460674d26f98cacf1bbdfc SHA1 c7bb00236ff9da084b402bec3199e0f823729420 SHA256 77f24cfb22b29976c4ff117d561f0d472acfe6600e2a6c87c837c97bcc9bcb5c
+MISC ChangeLog 3567 RMD160 a7aca025c3d825966b0ca1ae8086bc83298cf4d5 SHA1 0b3dc79c29e76d463b4f93ba48a4003b49ada350 SHA256 9a28681fbd5a73cb86488128f2f387ebe59c7a9d59896f4c4eaac2070c1c3cc5
MISC metadata.xml 156 RMD160 c1274bdccf57603d580de0075ba07a35b7509560 SHA1 6f78f604e3d079d39189b40aaaa1ddb06182ad91 SHA256 5101ab0d4cc8c7125eea733c44e86962769bd77acaf53b69223b9cadcdd29055
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
+}