diff options
author | 2003-02-07 02:49:22 +0000 | |
---|---|---|
committer | 2003-02-07 02:49:22 +0000 | |
commit | b4da4e617809e2f3123ad6768c91fff45308a815 (patch) | |
tree | 6f82f7162f5fb972b7489196a136d31136681c80 /sys-apps/apmd/apmd-3.0.2-r3.ebuild | |
parent | removed broken lines (generate a hunk, and are not needed, just cvs info things) (diff) | |
download | historical-b4da4e617809e2f3123ad6768c91fff45308a815.tar.gz historical-b4da4e617809e2f3123ad6768c91fff45308a815.tar.bz2 historical-b4da4e617809e2f3123ad6768c91fff45308a815.zip |
use epatch and nls fix
Diffstat (limited to 'sys-apps/apmd/apmd-3.0.2-r3.ebuild')
-rw-r--r-- | sys-apps/apmd/apmd-3.0.2-r3.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
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 } |