diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-01-11 07:16:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-01-11 07:16:13 +0000 |
commit | 8eb950c2c0b1d41873d4d639d05acf39812a0730 (patch) | |
tree | 87a2e43a417efdafbe0a6889b029523cb0a0287c /sys-apps/cpint/cpint-2.5.3.ebuild | |
parent | Forgot --virtual (diff) | |
download | gentoo-2-8eb950c2c0b1d41873d4d639d05acf39812a0730.tar.gz gentoo-2-8eb950c2c0b1d41873d4d639d05acf39812a0730.tar.bz2 gentoo-2-8eb950c2c0b1d41873d4d639d05acf39812a0730.zip |
Clean/fix up build.
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'sys-apps/cpint/cpint-2.5.3.ebuild')
-rw-r--r-- | sys-apps/cpint/cpint-2.5.3.ebuild | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/sys-apps/cpint/cpint-2.5.3.ebuild b/sys-apps/cpint/cpint-2.5.3.ebuild index 0390cc813d02..46780b022f6e 100644 --- a/sys-apps/cpint/cpint-2.5.3.ebuild +++ b/sys-apps/cpint/cpint-2.5.3.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpint/cpint-2.5.3.ebuild,v 1.1 2007/04/07 15:05:39 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpint/cpint-2.5.3.ebuild,v 1.2 2008/01/11 07:16:12 vapier Exp $ -inherit linux-info +inherit linux-info eutils MY_PV=${PV//./} @@ -17,12 +17,18 @@ IUSE="" DEPEND="" -src_compile() { - emake INCLUDEDIR=-I/usr/src/linux/include || die "emake failed" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch + epatch "${FILESDIR}"/${P}-prototypes.patch + epatch "${FILESDIR}"/${P}-kernel.patch + + # the makefile uses this variable + export KERNEL_DIR } src_install() { - einstall prefix="${D}" || die - rm -rf "${D}"/lib/modules/misc + emake install prefix="${D}" || die dodoc ChangeLog HOW-TO } |