diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-10-14 15:17:32 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-10-14 15:17:32 +0000 |
commit | 08b28a23ea803cc1a82e5e7a9711a06178cea275 (patch) | |
tree | e08c7d178400e3896823aac33121f577656d8202 /sys-fs | |
parent | Let CFLAGS be respected during src_compile rather than being set in stone. (diff) | |
download | gentoo-2-08b28a23ea803cc1a82e5e7a9711a06178cea275.tar.gz gentoo-2-08b28a23ea803cc1a82e5e7a9711a06178cea275.tar.bz2 gentoo-2-08b28a23ea803cc1a82e5e7a9711a06178cea275.zip |
Let CFLAGS be respected during src_compile rather than being set in stone.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/arm-fdisk/ChangeLog | 5 | ||||
-rw-r--r-- | sys-fs/arm-fdisk/arm-fdisk-3.0.6.ebuild | 13 |
2 files changed, 11 insertions, 7 deletions
diff --git a/sys-fs/arm-fdisk/ChangeLog b/sys-fs/arm-fdisk/ChangeLog index fc90c6b5cc97..5f6fb5ec3ee4 100644 --- a/sys-fs/arm-fdisk/ChangeLog +++ b/sys-fs/arm-fdisk/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/arm-fdisk # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/arm-fdisk/ChangeLog,v 1.7 2008/03/02 13:26:59 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/arm-fdisk/ChangeLog,v 1.8 2008/10/14 15:17:32 flameeyes Exp $ + + 14 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> arm-fdisk-3.0.6.ebuild: + Let CFLAGS be respected during src_compile rather than being set in stone. 02 Mar 2008; Wulf C. Krueger <philantrop@gentoo.org> arm-fdisk-3.0.6.ebuild: diff --git a/sys-fs/arm-fdisk/arm-fdisk-3.0.6.ebuild b/sys-fs/arm-fdisk/arm-fdisk-3.0.6.ebuild index 8e4ec5681465..d9d3bba59b85 100644 --- a/sys-fs/arm-fdisk/arm-fdisk-3.0.6.ebuild +++ b/sys-fs/arm-fdisk/arm-fdisk-3.0.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/arm-fdisk/arm-fdisk-3.0.6.ebuild,v 1.7 2008/03/16 08:35:05 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/arm-fdisk/arm-fdisk-3.0.6.ebuild,v 1.8 2008/10/14 15:17:32 flameeyes Exp $ inherit eutils @@ -21,11 +21,12 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${WORKDIR}"/acorn-fdisk_${PV}-${DEB_VER}.diff - sed -i \ - -e "s:-O2 -Wall -g:${CFLAGS}:" \ - -e "s:-O2 -Wall -I.. -g:${CFLAGS} -I..:" \ - -e '/^STRIP/s:strip:true:' \ - $(find . -name Makefile) + + find "${S}" -name Makefile -print0 | xargs -0 \ + sed -i \ + -e "s:-O2 -Wall\( -g\)\?::" \ + -e "/^CFLAGS/s:=:+=:" \ + -e '/^STRIP/s:strip:true:' } src_install() { |