summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-03-11 15:20:53 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-03-11 15:20:53 +0000
commitf8cfad7bf91c71f0ec948fe6cf9eae366e78b26f (patch)
treec861147cd7e0a015e463e7d47104f07d0fe5a0d6 /net-misc/zaptel
parentCleaning out stale ebuilds (diff)
downloadgentoo-2-f8cfad7bf91c71f0ec948fe6cf9eae366e78b26f.tar.gz
gentoo-2-f8cfad7bf91c71f0ec948fe6cf9eae366e78b26f.tar.bz2
gentoo-2-f8cfad7bf91c71f0ec948fe6cf9eae366e78b26f.zip
Fix zaptel makefiles to use /usr/src/linux and ${KV_FULL} instead of uname -r
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc/zaptel')
-rw-r--r--net-misc/zaptel/ChangeLog6
-rw-r--r--net-misc/zaptel/zaptel-1.0.6.ebuild6
2 files changed, 9 insertions, 3 deletions
diff --git a/net-misc/zaptel/ChangeLog b/net-misc/zaptel/ChangeLog
index b14e7a500e0c..f5d82c1b0ec0 100644
--- a/net-misc/zaptel/ChangeLog
+++ b/net-misc/zaptel/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/zaptel
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/ChangeLog,v 1.32 2005/03/10 00:19:16 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/ChangeLog,v 1.33 2005/03/11 15:20:52 stkn Exp $
+
+ 11 Mar 2005; Stefan Knoblich <stkn@gentoo.org> zaptel-1.0.6.ebuild:
+ Fix zaptel Makefile(s) to use /usr/src/linux as the kernel to build for,
+ instead of the one reported by uname -r
*zaptel-1.0.6 (10 Mar 2005)
diff --git a/net-misc/zaptel/zaptel-1.0.6.ebuild b/net-misc/zaptel/zaptel-1.0.6.ebuild
index 38c79f2da57b..fec498801fa9 100644
--- a/net-misc/zaptel/zaptel-1.0.6.ebuild
+++ b/net-misc/zaptel/zaptel-1.0.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.0.6.ebuild,v 1.1 2005/03/10 00:19:16 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.0.6.ebuild,v 1.2 2005/03/11 15:20:53 stkn Exp $
IUSE="devfs26 bri florz"
@@ -108,13 +108,15 @@ src_unpack() {
zaphfc/Makefile
fi
+ # replace `uname -r` with ${KV_FULL} in all Makefiles
+ find ${WORKDIR} -iname "Makefile" -exec sed -i -e "s:\`uname -r\`:${KV_FULL}:g" {} \;
}
src_compile() {
# TODO: bristuff modules
set_arch_to_kernel
- make || die
+ make KERNEL_SOURCE=/usr/src/linux || die
if use bri; then
cd ${WORKDIR}/bristuff-${BRI_VERSION}