summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Chandler <sethbc@gentoo.org>2003-01-19 04:36:56 +0000
committerSeth Chandler <sethbc@gentoo.org>2003-01-19 04:36:56 +0000
commit927a97c3bdb5c939ecb6ab1aec50839b13b0dbc3 (patch)
tree63b5c3f4156f3ed27bade2b207269451ef470c35
parentnow installs to directory pointed at by /usr/src/linux (diff)
downloadhistorical-927a97c3bdb5c939ecb6ab1aec50839b13b0dbc3.tar.gz
historical-927a97c3bdb5c939ecb6ab1aec50839b13b0dbc3.tar.bz2
historical-927a97c3bdb5c939ecb6ab1aec50839b13b0dbc3.zip
changed to use check_KV
-rw-r--r--net-misc/bcm4400/bcm4400-1.0.1.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-misc/bcm4400/bcm4400-1.0.1.ebuild b/net-misc/bcm4400/bcm4400-1.0.1.ebuild
index 0069e5f2fd8d..d513e8d15ff0 100644
--- a/net-misc/bcm4400/bcm4400-1.0.1.ebuild
+++ b/net-misc/bcm4400/bcm4400-1.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/bcm4400/bcm4400-1.0.1.ebuild,v 1.2 2003/01/19 04:30:38 sethbc Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bcm4400/bcm4400-1.0.1.ebuild,v 1.3 2003/01/19 04:36:56 sethbc Exp $
SRC_URI="http://www.nodomain.org/bcm4400-1.0.1.tar.gz"
DESCRIPTION="Driver for the bcm4400 gigabit card (in the form of kernel modules)."
@@ -13,9 +13,12 @@ KEYWORDS="~x86"
S=${WORKDIR}/src
src_compile() {
- eval $(head -n4 /usr/src/linux/Makefile | sed -e 's: = :=:')
+ #eval $(head -n4 /usr/src/linux/Makefile | sed -e 's: = :=:')
+
mv Makefile Makefile.orig
- sed -e "s|\`uname -r\`|$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION|" \
+ check_KV
+ #sed -e "s|\`uname -r\`|$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION|" \
+ sed -e "s|\`uname -r\`|$KV|" \
< Makefile.orig > Makefile
emake || die
}