diff options
author | Arcady Genkin <agenkin@gentoo.org> | 2002-12-17 01:27:38 +0000 |
---|---|---|
committer | Arcady Genkin <agenkin@gentoo.org> | 2002-12-17 01:27:38 +0000 |
commit | 8f6a7a55f5973c5aeee93bda23cdeaebf39932e5 (patch) | |
tree | 2f8532b3cbb1bf6c31b1d14bad81c84ccb6463b4 /net-misc/e1000 | |
parent | new version (diff) | |
download | gentoo-2-8f6a7a55f5973c5aeee93bda23cdeaebf39932e5.tar.gz gentoo-2-8f6a7a55f5973c5aeee93bda23cdeaebf39932e5.tar.bz2 gentoo-2-8f6a7a55f5973c5aeee93bda23cdeaebf39932e5.zip |
Moved patching of the Makefile from src_compile() into src_unpack().
Diffstat (limited to 'net-misc/e1000')
-rw-r--r-- | net-misc/e1000/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/e1000/e1000-4.3.15.ebuild | 20 |
2 files changed, 19 insertions, 8 deletions
diff --git a/net-misc/e1000/ChangeLog b/net-misc/e1000/ChangeLog index 92ffcf566830..7df945615593 100644 --- a/net-misc/e1000/ChangeLog +++ b/net-misc/e1000/ChangeLog @@ -1,8 +1,11 @@ # ChangeLog for net-misc/e1000 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/e1000/ChangeLog,v 1.3 2002/12/16 20:11:48 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/e1000/ChangeLog,v 1.4 2002/12/17 01:27:38 agenkin Exp $ -*e1000-4.3.2 (23 Sep 2002) +*e1000-4.3.15 (23 Sep 2002) + + 16 Dec 2002; Arcady Genkin <agenkin@gentoo.com> e1000-4.3.15.ebuild : + Ebuild facelift. 16 Dec 2002; Martin Holzer <mholzer@gentoo.com> e1000-4.3.15.ebuild Changelog : Fixed sandbox access violation (#9437). diff --git a/net-misc/e1000/e1000-4.3.15.ebuild b/net-misc/e1000/e1000-4.3.15.ebuild index 94dfed306b22..bc0c4872a94d 100644 --- a/net-misc/e1000/e1000-4.3.15.ebuild +++ b/net-misc/e1000/e1000-4.3.15.ebuild @@ -1,6 +1,6 @@ # Copyright 2002 Arcady Genkin <agenkin@thpoon.com> # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/e1000/e1000-4.3.15.ebuild,v 1.3 2002/12/16 20:11:48 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/e1000/e1000-4.3.15.ebuild,v 1.4 2002/12/17 01:27:38 agenkin Exp $ DESCRIPTION="Kernel driver for Intel Pro/1000 ethernet adapters." HOMEPAGE="http://support.intel.com/support/network/adapter/1000/index.htm" @@ -13,17 +13,25 @@ SLOT="0" KEYWORDS="x86" S="${WORKDIR}/${P}" -src_compile() { - check_KV + +src_unpack() { + unpack ${A} cd "${S}/src" # rem out the DEPVER line, since it would cause a sandbox violation and # since it is only needed by RPM ;-) - mv Makefile Makefile.org - cat Makefile.org | sed -e "s/DEPVER :=/#DEPVER :=/g" > Makefile + sed -e "/^DEPVER :=/ d" < Makefile > Makefile.hacked || die + mv Makefile.hacked Makefile || die +} + + +src_compile() { + check_KV + cd "${S}/src" make KSRC=/usr/src/linux clean e1000.o } -src_install () { + +src_install() { insinto "/lib/modules/${KV}/kernel/drivers/net" doins "${S}/src/e1000.o" doman e1000.7 |