summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-24 22:51:01 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-24 22:51:01 +0000
commite212f0a97eca76c4cd79626396ef4e718c3ed768 (patch)
tree3afdff812a0c7e69082d38af1421376b2afd2f87 /net-dns
parent(#93856) Remove duplicated statement that checked for invalid USE combos. (diff)
downloadgentoo-2-e212f0a97eca76c4cd79626396ef4e718c3ed768.tar.gz
gentoo-2-e212f0a97eca76c4cd79626396ef4e718c3ed768.tar.bz2
gentoo-2-e212f0a97eca76c4cd79626396ef4e718c3ed768.zip
dont install emacs crap when USE=-emacs
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/libidn/libidn-0.5.15.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/net-dns/libidn/libidn-0.5.15.ebuild b/net-dns/libidn/libidn-0.5.15.ebuild
index 7ae5bdaf8d63..2eb2dd56f5c7 100644
--- a/net-dns/libidn/libidn-0.5.15.ebuild
+++ b/net-dns/libidn/libidn-0.5.15.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-0.5.15.ebuild,v 1.1 2005/04/19 14:31:25 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-0.5.15.ebuild,v 1.2 2005/05/24 22:51:01 vapier Exp $
inherit java-pkg
@@ -11,7 +11,7 @@ SRC_URI="ftp://alpha.gnu.org/pub/gnu/libidn/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="java doc nls"
+IUSE="java doc nls emacs"
DEPEND="java? ( virtual/jdk )"
RDEPEND="java? ( virtual/jre )"
@@ -30,16 +30,20 @@ src_compile() {
check_java_config
fi
- econf $(use_enable nls) \
- $(use_enable java) || die
+ econf \
+ $(use_enable nls) \
+ $(use_enable java) \
+ || die
emake || die
}
src_install() {
- emake install DESTDIR="${D}" || die
+ make install DESTDIR="${D}" || die
dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO
+ use emacs || rm -r "${D}"/usr/share/emacs
+
if use doc; then
dohtml -r doc/reference/html/*
fi