diff options
author | Chad Huneycutt <chadh@gentoo.org> | 2001-08-19 07:00:08 +0000 |
---|---|---|
committer | Chad Huneycutt <chadh@gentoo.org> | 2001-08-19 07:00:08 +0000 |
commit | 2712da634749247df189cf1f8bd82b5f2047c574 (patch) | |
tree | c676e152e3a1ec9b879493abf57563b40b25b1d3 /sys-apps/iproute2 | |
parent | the missing diff (diff) | |
download | gentoo-2-2712da634749247df189cf1f8bd82b5f2047c574.tar.gz gentoo-2-2712da634749247df189cf1f8bd82b5f2047c574.tar.bz2 gentoo-2-2712da634749247df189cf1f8bd82b5f2047c574.zip |
was looking for kernel headers in /usr/src/linux/include.
patched Makefile to look in /usr/include
Diffstat (limited to 'sys-apps/iproute2')
-rw-r--r-- | sys-apps/iproute2/iproute2-2.2.4-r3.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-apps/iproute2/iproute2-2.2.4-r3.ebuild b/sys-apps/iproute2/iproute2-2.2.4-r3.ebuild index 8b98310e3ac7..e5a7c7611e25 100644 --- a/sys-apps/iproute2/iproute2-2.2.4-r3.ebuild +++ b/sys-apps/iproute2/iproute2-2.2.4-r3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-2.2.4-r3.ebuild,v 1.1 2001/07/06 05:17:15 jerry Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-2.2.4-r3.ebuild,v 1.2 2001/08/19 07:00:08 chadh Exp $ A=iproute2-2.2.4-now-ss001007.tar.gz S=${WORKDIR}/iproute2 @@ -13,9 +13,13 @@ DEPEND="virtual/glibc tex? ( app-text/tetex )" src_unpack() { unpack ${A} + cd ${S} + cp Makefile Makefile.orig + sed -e '/^KERNEL_INCLUDE/c\' -e 'KERNEL_INCLUDE=/usr/include' Makefile.orig > Makefile + cd ${S}/lib cp ll_proto.c ll_proto.c.orig - sed -e "36 d" ll_proto.c.orig >| ll_proto.c + sed -e "36 d" ll_proto.c.orig > ll_proto.c # cp Makefile Makefile.orig # sed -e "s/-O2/${CFLAGS}/g" Makefile.orig > Makefile |