summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Shepherd <masterdriverz@gentoo.org>2006-12-17 11:11:01 +0000
committerCharlie Shepherd <masterdriverz@gentoo.org>2006-12-17 11:11:01 +0000
commit4077c44af1f92b848cbe36343ca0318658ab5a74 (patch)
tree3e173d55a5b9305ab4ba912ba77c6dab876d47e2 /net-misc/mknbi/mknbi-1.4.4.ebuild
parentAdd patch to fix compilation under gcc-4; thanks to Phillip Lemon for the pat... (diff)
downloadhistorical-4077c44af1f92b848cbe36343ca0318658ab5a74.tar.gz
historical-4077c44af1f92b848cbe36343ca0318658ab5a74.tar.bz2
historical-4077c44af1f92b848cbe36343ca0318658ab5a74.zip
Blah, fix -mcpu warnings too
Package-Manager: portage-2.1.2_rc3-r1
Diffstat (limited to 'net-misc/mknbi/mknbi-1.4.4.ebuild')
-rw-r--r--net-misc/mknbi/mknbi-1.4.4.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-misc/mknbi/mknbi-1.4.4.ebuild b/net-misc/mknbi/mknbi-1.4.4.ebuild
index 48fd3d0cec77..657b02d10bea 100644
--- a/net-misc/mknbi/mknbi-1.4.4.ebuild
+++ b/net-misc/mknbi/mknbi-1.4.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/mknbi-1.4.4.ebuild,v 1.3 2006/12/17 11:07:56 masterdriverz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/mknbi-1.4.4.ebuild,v 1.4 2006/12/17 11:11:01 masterdriverz Exp $
inherit toolchain-funcs eutils
@@ -23,7 +23,9 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/mknbi-1.4.3-nossp.patch
epatch "${FILESDIR}"/${P}-gcc4.patch
+
sed -i -e "s:\/usr\/local:\/usr:" Makefile
+ sed -i -e "s:\-mcpu:\-march:" Makefile
#apply modifications to CFLAGS to fix for gcc 3.4: bug #64049
if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ]