From 7dcc5bedeaf7842f4a8a4979a642493bb2f817d5 Mon Sep 17 00:00:00 2001 From: Jeremy Olexa Date: Thu, 12 Jun 2008 22:57:15 +0000 Subject: Make pkg_setup() actually do something. Thanks to f.mensik for the fix in bug #219004 (Portage version: 2.1.4.4) --- app-emulation/pearpc/ChangeLog | 6 +++++- app-emulation/pearpc/pearpc-0.4.ebuild | 11 +++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) (limited to 'app-emulation/pearpc') 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 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 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() { -- cgit v1.2.3-65-gdbad