summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-06-12 22:57:15 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-06-12 22:57:15 +0000
commit7dcc5bedeaf7842f4a8a4979a642493bb2f817d5 (patch)
tree4e27b9517bea1e2f747f06499642cfa8e619bd84
parentno need to depend on virtual/tetex here, bug #225995 (diff)
downloadgentoo-2-7dcc5bedeaf7842f4a8a4979a642493bb2f817d5.tar.gz
gentoo-2-7dcc5bedeaf7842f4a8a4979a642493bb2f817d5.tar.bz2
gentoo-2-7dcc5bedeaf7842f4a8a4979a642493bb2f817d5.zip
Make pkg_setup() actually do something. Thanks to f.mensik for the fix in bug #219004
(Portage version: 2.1.4.4)
-rw-r--r--app-emulation/pearpc/ChangeLog6
-rw-r--r--app-emulation/pearpc/pearpc-0.4.ebuild11
2 files changed, 12 insertions, 5 deletions
diff --git a/app-emulation/pearpc/ChangeLog b/app-emulation/pearpc/ChangeLog
index 31b79ec4590e..0c14b6a9988a 100644
--- a/app-emulation/pearpc/ChangeLog
+++ b/app-emulation/pearpc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/pearpc
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/pearpc/ChangeLog,v 1.17 2008/04/21 16:44:16 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/pearpc/ChangeLog,v 1.18 2008/06/12 22:57:15 darkside Exp $
+
+ 12 Jun 2008; Jeremy Olexa <darkside@gentoo.org> pearpc-0.4.ebuild:
+ Make pkg_setup() actually do something. Thanks to f.mensik for the fix in
+ bug #219004
21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
Fix up metadata.xml. If there's no maintainer for the package, the metadata
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() {