summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-02-07 02:49:22 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-02-07 02:49:22 +0000
commitd51f2fb110bb15dfec1a36b5a2e000078c844024 (patch)
tree354d317b5fd5c07667c51948b1930a5ae392fb8f /sys-apps/apmd
parentremoved broken lines (generate a hunk, and are not needed, just cvs info things) (diff)
downloadgentoo-2-d51f2fb110bb15dfec1a36b5a2e000078c844024.tar.gz
gentoo-2-d51f2fb110bb15dfec1a36b5a2e000078c844024.tar.bz2
gentoo-2-d51f2fb110bb15dfec1a36b5a2e000078c844024.zip
use epatch and nls fix
Diffstat (limited to 'sys-apps/apmd')
-rw-r--r--sys-apps/apmd/ChangeLog6
-rw-r--r--sys-apps/apmd/apmd-3.0.2-r3.ebuild11
2 files changed, 14 insertions, 3 deletions
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 <seemant@gentoo.org> apmd-3.0.2-r3.ebuild :
+
+ use epatch and nls fixes
+
21 Jul 2002; Mark Guertin <gerk@gentoo.org>:
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
}