summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martin <kanaka@gentoo.org>2006-02-08 15:23:28 +0000
committerJoel Martin <kanaka@gentoo.org>2006-02-08 15:23:28 +0000
commita320a79670f2359fb3cd4ac0c208b6c5f07cc885 (patch)
tree44a7398e8564e6817e725ce484b7c2f94eb6c8bb /sys-apps/kbd
parentMark 0.8.11 stable on alpha (diff)
downloadgentoo-2-a320a79670f2359fb3cd4ac0c208b6c5f07cc885.tar.gz
gentoo-2-a320a79670f2359fb3cd4ac0c208b6c5f07cc885.tar.bz2
gentoo-2-a320a79670f2359fb3cd4ac0c208b6c5f07cc885.zip
Do not run test programs when cross-compiling. Export CC for cross-compiling.
(Portage version: 2.0.53)
Diffstat (limited to 'sys-apps/kbd')
-rw-r--r--sys-apps/kbd/ChangeLog7
-rw-r--r--sys-apps/kbd/Manifest24
-rw-r--r--sys-apps/kbd/kbd-1.12-r5.ebuild11
3 files changed, 26 insertions, 16 deletions
diff --git a/sys-apps/kbd/ChangeLog b/sys-apps/kbd/ChangeLog
index 1f05a5223763..030bb78e074c 100644
--- a/sys-apps/kbd/ChangeLog
+++ b/sys-apps/kbd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/kbd
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kbd/ChangeLog,v 1.41 2005/07/12 04:33:02 josejx Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kbd/ChangeLog,v 1.42 2006/02/08 15:23:28 kanaka Exp $
+
+ 08 Feb 2006; Joel Martin <kanaka@gentoo.org> kbd-1.12-r5.ebuild:
+ Don't run test programs when cross-compiling. Export CC for cross-compiling.
12 Jul 2005; Joseph Jezak <josejx@gentoo.org> kbd-1.12-r5.ebuild:
Marked ppc stable.
diff --git a/sys-apps/kbd/Manifest b/sys-apps/kbd/Manifest
index 3ea0f29183cd..5fd1ae907a03 100644
--- a/sys-apps/kbd/Manifest
+++ b/sys-apps/kbd/Manifest
@@ -1,18 +1,18 @@
-MD5 e8ed67538bae37e1f3e02ab1182beb11 ChangeLog 7195
-MD5 4093a0a61f24616d5ec7548523a2a176 kbd-1.12-r5.ebuild 2723
-MD5 373ac401400870223a0f5c52ed31951b kbd-1.12-r4.ebuild 2412
-MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 c29424ddee16d6f71aa4b5276d4718a4 kbd-1.12-r3.ebuild 2268
+MD5 73738e33638c94ecc6f1c1907b48447d ChangeLog 7342
MD5 66f1d8aeb65761d1150262a4c1255274 files/digest-kbd-1.12-r3 118
-MD5 58617e4171ee3357153c9793be062524 files/kbd-1.12-it-euro-map.patch 501
-MD5 2fff8da17e566c258df2888fbc599c23 files/kbd-1.12-cz-qwerty-map.patch 5821
-MD5 66f1d8aeb65761d1150262a4c1255274 files/digest-kbd-1.12-r5 118
MD5 66f1d8aeb65761d1150262a4c1255274 files/digest-kbd-1.12-r4 118
-MD5 5f28051ad309ee4e481ef3b2b9cc9714 files/kbd-1.12-kbd_repeat-v2.patch 809
+MD5 66f1d8aeb65761d1150262a4c1255274 files/digest-kbd-1.12-r5 118
+MD5 6e007f04a80358ea81b27c80498a4808 files/kbd-1.08-terminal.patch 925
+MD5 fa826e223fa8177a8faff98b798cf601 files/kbd-1.12-Meta_utf8.patch 344
MD5 d03cdb6117cda1a23cb90b91ab133c3e files/kbd-1.12-alias.patch 1129
-MD5 3e2652f1b8451784488b743b6e0dd556 files/kbd-1.12-find-map-fix.patch 957
+MD5 2fff8da17e566c258df2888fbc599c23 files/kbd-1.12-cz-qwerty-map.patch 5821
MD5 590a77d26b0b25a4217435ffa8bcd18a files/kbd-1.12-debian.patch 2628
-MD5 fa826e223fa8177a8faff98b798cf601 files/kbd-1.12-Meta_utf8.patch 344
+MD5 3e2652f1b8451784488b743b6e0dd556 files/kbd-1.12-find-map-fix.patch 957
+MD5 58617e4171ee3357153c9793be062524 files/kbd-1.12-it-euro-map.patch 501
MD5 4063587dde8a52da8b5e66209ee25ae8 files/kbd-1.12-jp-escape.patch 404
+MD5 5f28051ad309ee4e481ef3b2b9cc9714 files/kbd-1.12-kbd_repeat-v2.patch 809
MD5 ff84eec635b7a1578ef1284b994f779b files/kbd-1.12-setfont-man.patch 629
-MD5 6e007f04a80358ea81b27c80498a4808 files/kbd-1.08-terminal.patch 925
+MD5 c29424ddee16d6f71aa4b5276d4718a4 kbd-1.12-r3.ebuild 2268
+MD5 373ac401400870223a0f5c52ed31951b kbd-1.12-r4.ebuild 2412
+MD5 3776bf44a852b0242112718e4d2e5bb0 kbd-1.12-r5.ebuild 2920
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
diff --git a/sys-apps/kbd/kbd-1.12-r5.ebuild b/sys-apps/kbd/kbd-1.12-r5.ebuild
index c854befe4bec..3beec3b5a027 100644
--- a/sys-apps/kbd/kbd-1.12-r5.ebuild
+++ b/sys-apps/kbd/kbd-1.12-r5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kbd/kbd-1.12-r5.ebuild,v 1.8 2005/07/12 04:33:02 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kbd/kbd-1.12-r5.ebuild,v 1.9 2006/02/08 15:23:28 kanaka Exp $
inherit eutils toolchain-funcs
@@ -36,6 +36,13 @@ src_unpack() {
src/Makefile.in \
openvt/Makefile
+ if tc-is-cross-compiler; then
+ tc-export CC
+ # Cross-compiling: don't run test programs
+ sed -i -e "s:&& ./conftest::" configure || \
+ die "Could not do sed configure for cross-compile"
+ fi
+
# Other patches from RH
epatch "${FILESDIR}"/${PN}-1.08-terminal.patch