diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-12-08 00:49:01 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-12-08 00:49:01 +0000 |
commit | af0e81d1cfc9d86f18263fefed516e298e24b77e (patch) | |
tree | 6017332f7f33b77ba29e6c6690e6e41ffd4fb72c /sys-apps/kbd | |
parent | old (Manifest recommit) (diff) | |
download | gentoo-2-af0e81d1cfc9d86f18263fefed516e298e24b77e.tar.gz gentoo-2-af0e81d1cfc9d86f18263fefed516e298e24b77e.tar.bz2 gentoo-2-af0e81d1cfc9d86f18263fefed516e298e24b77e.zip |
cross-compile fixes
Diffstat (limited to 'sys-apps/kbd')
-rw-r--r-- | sys-apps/kbd/kbd-1.12-r3.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys-apps/kbd/kbd-1.12-r3.ebuild b/sys-apps/kbd/kbd-1.12-r3.ebuild index 69ac3f05afbc..e323da840dc3 100644 --- a/sys-apps/kbd/kbd-1.12-r3.ebuild +++ b/sys-apps/kbd/kbd-1.12-r3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kbd/kbd-1.12-r3.ebuild,v 1.1 2004/10/26 01:46:20 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kbd/kbd-1.12-r3.ebuild,v 1.2 2004/12/08 00:49:01 vapier Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="Keyboard and console utilities" HOMEPAGE="http://freshmeat.net/projects/kbd/" @@ -28,8 +28,10 @@ src_unpack() { done cd ${S} - # Fixes makefile so that it uses the CFLAGS from portage (bug #21320). - sed -i -e "s:-O2:${CFLAGS}:g" src/Makefile.in + sed -i \ + -e "s:-O2:${CFLAGS}:g" \ + -e 's:install -s:install:' \ + src/Makefile.in # Other patches from RH epatch ${FILESDIR}/${PN}-1.08-terminal.patch @@ -60,7 +62,7 @@ src_compile() { --datadir=/usr/share \ ${myconf} || die - emake || die "emake failed" + emake CC="$(tc-getCC)" || die "emake failed" } src_install() { |