summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/pearpc/pearpc-0.4.ebuild')
-rw-r--r--app-emulation/pearpc/pearpc-0.4.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/app-emulation/pearpc/pearpc-0.4.ebuild b/app-emulation/pearpc/pearpc-0.4.ebuild
index c2bff97fb9bb..bff58cedb24f 100644
--- a/app-emulation/pearpc/pearpc-0.4.ebuild
+++ b/app-emulation/pearpc/pearpc-0.4.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/app-emulation/pearpc/pearpc-0.4.ebuild,v 1.7 2007/07/22 09:26:13 omp Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/pearpc/pearpc-0.4.ebuild,v 1.8 2008/06/12 22:57:15 darkside Exp $
-inherit eutils flag-o-matic linux-info
+inherit eutils flag-o-matic linux-info linux-mod
DESCRIPTION="PowerPC Architecture Emulator"
HOMEPAGE="http://pearpc.sourceforge.net/"
@@ -34,7 +34,10 @@ src_unpack() {
}
pkg_setup() {
- linux_chkconfig_present TUN && die "You must have TUN/TAP enabled in your kernel."
+ linux-mod_pkg_setup
+ if ! linux_chkconfig_present TUN; then
+ die "You must have TUN/TAP enabled in your kernel."
+ fi
}
src_compile() {