diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-01-06 09:56:38 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-01-06 09:56:38 +0000 |
commit | 20b67f4dd383edbe703000041c06ad8f99904bc9 (patch) | |
tree | 070f17c555a7f699f20e6594f7ade0044093e1da /net-dialup/rp-pppoe/rp-pppoe-3.5-r11.ebuild | |
parent | add explicit handling of selinux support. (diff) | |
download | gentoo-2-20b67f4dd383edbe703000041c06ad8f99904bc9.tar.gz gentoo-2-20b67f4dd383edbe703000041c06ad8f99904bc9.tar.bz2 gentoo-2-20b67f4dd383edbe703000041c06ad8f99904bc9.zip |
Remove duplicate dependencies and unnecessary tcltk useflag (#117963).
(Portage version: 2.0.53)
Diffstat (limited to 'net-dialup/rp-pppoe/rp-pppoe-3.5-r11.ebuild')
-rw-r--r-- | net-dialup/rp-pppoe/rp-pppoe-3.5-r11.ebuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/net-dialup/rp-pppoe/rp-pppoe-3.5-r11.ebuild b/net-dialup/rp-pppoe/rp-pppoe-3.5-r11.ebuild index 0f7bea17dc5b..2075221dd4cf 100644 --- a/net-dialup/rp-pppoe/rp-pppoe-3.5-r11.ebuild +++ b/net-dialup/rp-pppoe/rp-pppoe-3.5-r11.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.5-r11.ebuild,v 1.4 2005/06/23 13:51:35 nigoro Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.5-r11.ebuild,v 1.5 2006/01/06 09:56:38 mrness Exp $ inherit eutils @@ -12,13 +12,10 @@ SRC_URI="http://www.roaringpenguin.com/penguin/pppoe/${P}.tar.gz LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa mips ppc sparc x86 ~ppc64" -IUSE="X tcltk" +IUSE="X" DEPEND="net-dialup/ppp - X? ( tcltk? ( - virtual/x11 - dev-lang/tcl - dev-lang/tk ) )" + X? ( dev-lang/tk )" src_unpack() { unpack ${A} || die "failed to unpack" @@ -47,7 +44,7 @@ src_compile() { econf --enable-plugin=../../ppp-2.4.3 || die "econf failed" emake || die "emake failed" - if use X && use tcltk; then + if use X; then make -C ${S}/gui || die "gui make failed" fi } @@ -68,7 +65,7 @@ src_install () { prepalldocs - if use X && use tcltk; then + if use X; then make -C ${S}/gui install RPM_INSTALL_ROOT=${D} \ datadir=/usr/share/doc/${PF}/ || die "gui install failed" dosym /usr/share/doc/${PF}/tkpppoe /usr/share/tkpppoe |