summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-02-18 17:40:22 +0000
committerJeroen Roovers <jer@gentoo.org>2010-02-18 17:40:22 +0000
commitdfac02da8a91a21a8a17846068c81c613f5ce189 (patch)
tree3380c793c6fd754776efb1140a5aa5e1d55ebde8 /sys-boot
parentebuild touchups from bug #305753 (diff)
downloadgentoo-2-dfac02da8a91a21a8a17846068c81c613f5ce189.tar.gz
gentoo-2-dfac02da8a91a21a8a17846068c81c613f5ce189.tar.bz2
gentoo-2-dfac02da8a91a21a8a17846068c81c613f5ce189.zip
Respect CFLAGS, LDFLAGS, CC.
(Portage version: 2.2_rc62/cvs/Linux i686)
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/syslinux/ChangeLog5
-rw-r--r--sys-boot/syslinux/syslinux-3.84.ebuild17
2 files changed, 18 insertions, 4 deletions
diff --git a/sys-boot/syslinux/ChangeLog b/sys-boot/syslinux/ChangeLog
index b7d5b94690fe..8005734aba4f 100644
--- a/sys-boot/syslinux/ChangeLog
+++ b/sys-boot/syslinux/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-boot/syslinux
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.50 2010/02/16 14:54:38 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.51 2010/02/18 17:40:22 jer Exp $
+
+ 18 Feb 2010; Jeroen Roovers <jer@gentoo.org> syslinux-3.84.ebuild:
+ Respect CFLAGS, LDFLAGS, CC.
16 Feb 2010; Steve Dibb <beandog@gentoo.org> syslinux-3.83.ebuild:
amd64 stable, bug 292442
diff --git a/sys-boot/syslinux/syslinux-3.84.ebuild b/sys-boot/syslinux/syslinux-3.84.ebuild
index 464dc969dc3e..8ce810e74bac 100644
--- a/sys-boot/syslinux/syslinux-3.84.ebuild
+++ b/sys-boot/syslinux/syslinux-3.84.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild,v 1.1 2010/02/16 12:47:45 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild,v 1.2 2010/02/18 17:40:22 jer Exp $
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="SysLinux, IsoLinux and PXELinux bootloader"
HOMEPAGE="http://syslinux.zytor.com/"
@@ -33,10 +33,21 @@ src_unpack() {
epatch "${FILESDIR}"/${PN}-3.72-nostrip.patch
rm -f gethostip #bug 137081
+
+ sed -i \
+ extlinux/Makefile \
+ linux/Makefile \
+ mtools/Makefile \
+ sample/Makefile \
+ utils/Makefile \
+ -e '/^LDFLAGS/d' \
+ -e 's|-Os||g' \
+ -e 's|CFLAGS[[:space:]]\+=|CFLAGS +=|g' \
+ || die "sed failed"
}
src_compile() {
- emake installer || die
+ emake CC=$(tc-getCC) installer || die
}
src_install() {