summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-08-13 13:47:26 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-08-13 13:47:26 +0000
commite91b9e4ae608e73c7eb184b9a342b783501aedf0 (patch)
tree50a7becd2553a15ddcb0c9f66021f385d6d6b0c1 /net-dns/libidn
parentStable on sparc wrt #188700 (diff)
downloadgentoo-2-e91b9e4ae608e73c7eb184b9a342b783501aedf0.tar.gz
gentoo-2-e91b9e4ae608e73c7eb184b9a342b783501aedf0.tar.bz2
gentoo-2-e91b9e4ae608e73c7eb184b9a342b783501aedf0.zip
Improve the emacs removal code so it works with xemacs. Fixes bug #188587.
(Portage version: 2.1.3)
Diffstat (limited to 'net-dns/libidn')
-rw-r--r--net-dns/libidn/ChangeLog5
-rw-r--r--net-dns/libidn/libidn-1.0.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/net-dns/libidn/ChangeLog b/net-dns/libidn/ChangeLog
index 7f000d162081..134b539564c6 100644
--- a/net-dns/libidn/ChangeLog
+++ b/net-dns/libidn/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dns/libidn
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.63 2007/08/13 12:20:05 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.64 2007/08/13 13:47:26 betelgeuse Exp $
+
+ 13 Aug 2007; Petteri Räty <betelgeuse@gentoo.org> libidn-1.0.ebuild:
+ Improve the emacs removal code so it works with xemacs. Fixes bug #188587.
13 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org>
libidn-0.6.9-r1.ebuild:
diff --git a/net-dns/libidn/libidn-1.0.ebuild b/net-dns/libidn/libidn-1.0.ebuild
index fa82b96225da..5b17beccd6be 100644
--- a/net-dns/libidn/libidn-1.0.ebuild
+++ b/net-dns/libidn/libidn-1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-1.0.ebuild,v 1.1 2007/08/11 09:03:50 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-1.0.ebuild,v 1.2 2007/08/13 13:47:26 betelgeuse Exp $
inherit java-pkg-opt-2 mono autotools
@@ -39,7 +39,12 @@ src_install() {
dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO || die
if ! use emacs; then
- rm -r ${D}/usr/share/emacs || die
+ if [ -e "${D}/usr/share/emacs" ] ; then
+ rm -r "${D}/usr/share/emacs" || die
+ fi
+ if [ -e "${D}/usr/lib/xemacs" ] ; then
+ rm -r "${D}/usr/lib/xemacs" || die
+ fi
fi
if use doc; then