summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2008-05-11 20:35:07 +0000
committerNed Ludd <solar@gentoo.org>2008-05-11 20:35:07 +0000
commite75464174ffb2fd0f9e1092d549f199209413017 (patch)
tree2b59ec49e4fb5e66029bca943d38e3429816228b /app-misc
parentversion bump (diff)
downloadgentoo-2-e75464174ffb2fd0f9e1092d549f199209413017.tar.gz
gentoo-2-e75464174ffb2fd0f9e1092d549f199209413017.tar.bz2
gentoo-2-e75464174ffb2fd0f9e1092d549f199209413017.zip
- cross compile love. fixes /usr/bin/chkfont being installed with the wrong EM_TYPE. Allows the use of -I$ROOT/include/paths/ in CFLAGS by switching / to @ in the sed statement
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/figlet/ChangeLog7
-rw-r--r--app-misc/figlet/figlet-222.ebuild10
2 files changed, 11 insertions, 6 deletions
diff --git a/app-misc/figlet/ChangeLog b/app-misc/figlet/ChangeLog
index d72937810ad1..40fd1b54496e 100644
--- a/app-misc/figlet/ChangeLog
+++ b/app-misc/figlet/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/figlet
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/figlet/ChangeLog,v 1.32 2008/03/12 22:05:03 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/figlet/ChangeLog,v 1.33 2008/05/11 20:35:07 solar Exp $
+
+ 11 May 2008; <solar@gentoo.org> figlet-222.ebuild:
+ - cross compile love. fixes /usr/bin/chkfont being installed with the wrong
+ EM_TYPE. Allows the use of -I$ROOT/include/paths/ in CFLAGS by switching /
+ to @ in the sed statement
12 Mar 2008; Raúl Porcel <armin76@gentoo.org>
-files/figlet-221-gentoo.diff, figlet-222.ebuild:
diff --git a/app-misc/figlet/figlet-222.ebuild b/app-misc/figlet/figlet-222.ebuild
index 01be065e0155..094f5ecd9cc8 100644
--- a/app-misc/figlet/figlet-222.ebuild
+++ b/app-misc/figlet/figlet-222.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/figlet/figlet-222.ebuild,v 1.13 2008/03/12 22:05:03 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/figlet/figlet-222.ebuild,v 1.14 2008/05/11 20:35:07 solar Exp $
-inherit eutils bash-completion
+inherit eutils bash-completion toolchain-funcs
MY_P=${P/-/}
DESCRIPTION="program for making large letters out of ordinary text"
@@ -34,13 +34,13 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-gentoo.diff
sed -i \
- -e "s/CFLAGS = -g/CFLAGS = ${CFLAGS}/g" Makefile \
+ -e "s@CFLAGS = -g@CFLAGS = ${CFLAGS}@g" Makefile \
|| die "sed failed"
}
src_compile() {
- make clean || die "make clean failed"
- emake figlet || die "emake failed"
+ tc-export CC
+ emake CC="${CC}" clean all || die "emake failed"
}
src_install() {