From bd582bfb4b4f1b38ed7effb0e65353f9bae30f9c Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sun, 15 Apr 2012 21:00:18 +0200 Subject: Add base. Fix stardict compilation --- net-dialup/martian/martian-20100123.ebuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'net-dialup/martian/martian-20100123.ebuild') diff --git a/net-dialup/martian/martian-20100123.ebuild b/net-dialup/martian/martian-20100123.ebuild index 00ae3cd3..4e7966f2 100644 --- a/net-dialup/martian/martian-20100123.ebuild +++ b/net-dialup/martian/martian-20100123.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header $ EAPI="4" -inherit linux-mod eutils +inherit base linux-mod eutils ARCHRUMP="${PN}-full-${PV}" DESCRIPTION="Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets" @@ -25,6 +25,8 @@ MODULE_NAMES="martian_dev(ltmodem::kmodule)" CONFIG_CHECK="SERIAL_8250" SERIAL_8250_ERROR="This driver requires you to compile your kernel with serial core (CONFIG_SERIAL_8250) support." +PATCHES=("${FILESDIR}/grsecurity.patch") + pkg_setup() { linux-mod_pkg_setup @@ -37,10 +39,6 @@ pkg_setup() { BUILD_PARAMS="KERNEL_DIR='${KV_DIR}' SUBLEVEL='21'" } -src_prepare() { - epatch "${FILESDIR}/grsecurity.patch" -} - src_install() { # install kernel module linux-mod_src_install -- cgit v1.2.3-65-gdbad