From d51f2fb110bb15dfec1a36b5a2e000078c844024 Mon Sep 17 00:00:00 2001 From: Seemant Kulleen Date: Fri, 7 Feb 2003 02:49:22 +0000 Subject: use epatch and nls fix --- sys-apps/apmd/ChangeLog | 6 +++++- sys-apps/apmd/apmd-3.0.2-r3.ebuild | 11 +++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'sys-apps/apmd') diff --git a/sys-apps/apmd/ChangeLog b/sys-apps/apmd/ChangeLog index 10e78e0040a7..49d61e74db9e 100644 --- a/sys-apps/apmd/ChangeLog +++ b/sys-apps/apmd/ChangeLog @@ -1,9 +1,13 @@ # ChangeLog for sys-apps/apmd # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/ChangeLog,v 1.6 2002/07/21 18:22:55 gerk Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/ChangeLog,v 1.7 2003/02/07 02:49:22 seemant Exp $ *apmd-3.0.2-r3 (12 July 2002) + 06 Feb 2003; Seemant Kulleen apmd-3.0.2-r3.ebuild : + + use epatch and nls fixes + 21 Jul 2002; Mark Guertin : updated keywords (-ppc) diff --git a/sys-apps/apmd/apmd-3.0.2-r3.ebuild b/sys-apps/apmd/apmd-3.0.2-r3.ebuild index 85fed3306258..77a3883f2a19 100644 --- a/sys-apps/apmd/apmd-3.0.2-r3.ebuild +++ b/sys-apps/apmd/apmd-3.0.2-r3.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.0.2-r3.ebuild,v 1.8 2002/11/12 22:12:28 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.0.2-r3.ebuild,v 1.9 2003/02/07 02:49:22 seemant Exp $ + +inherit eutils IUSE="X" @@ -37,7 +39,7 @@ src_unpack() { fi #This closes bug #1472: fixes compilation with recent 2.4 kernels - cat ${FILESDIR}/apmsleep.c.diff | patch -p0 -l || die + epatch ${FILESDIR}/apmsleep.c.diff } src_compile() { @@ -57,4 +59,9 @@ src_install() { if [ `use X` ] ; then make DESTDIR=${D} xinstall || die "xinstall failed" fi + + if [ ! `use nls` ] + then + rm -rf ${D}/usr/share/man/fr + fi } -- cgit v1.2.3-65-gdbad