summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2005-10-02 14:02:29 +0000
committerMichael Januszewski <spock@gentoo.org>2005-10-02 14:02:29 +0000
commit2dd6f41be97aab3b9c759b13f312b615f1002070 (patch)
tree5d8f88f8894046bb12d98f2b0053cb07392cc53f /www-client/elinks
parentMark 4.4.0-r2 stable on ia64 (diff)
downloadgentoo-2-2dd6f41be97aab3b9c759b13f312b615f1002070.tar.gz
gentoo-2-2dd6f41be97aab3b9c759b13f312b615f1002070.tar.bz2
gentoo-2-2dd6f41be97aab3b9c759b13f312b615f1002070.zip
Automatically comment out options related to FTP when 'ftp' is not in USE (requested in #107082).
(Portage version: 1.589-cvs)
Diffstat (limited to 'www-client/elinks')
-rw-r--r--www-client/elinks/ChangeLog7
-rw-r--r--www-client/elinks/elinks-0.10.5-r1.ebuild6
2 files changed, 11 insertions, 2 deletions
diff --git a/www-client/elinks/ChangeLog b/www-client/elinks/ChangeLog
index a9df82ed3bad..589433cb1239 100644
--- a/www-client/elinks/ChangeLog
+++ b/www-client/elinks/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/elinks
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/ChangeLog,v 1.22 2005/09/19 00:51:24 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/ChangeLog,v 1.23 2005/10/02 14:02:29 spock Exp $
+
+ 02 Oct 2005; Michał Januszewski <spock@gentoo.org>
+ elinks-0.10.5-r1.ebuild:
+ Automatically comment out options related to FTP when 'ftp' is not in USE
+ (requested in #107082).
*elinks-0.10.5-r1 (19 Sep 2005)
diff --git a/www-client/elinks/elinks-0.10.5-r1.ebuild b/www-client/elinks/elinks-0.10.5-r1.ebuild
index b46f204219f1..39f86eb51bd8 100644
--- a/www-client/elinks/elinks-0.10.5-r1.ebuild
+++ b/www-client/elinks/elinks-0.10.5-r1.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/www-client/elinks/elinks-0.10.5-r1.ebuild,v 1.2 2005/09/21 13:05:16 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/elinks-0.10.5-r1.ebuild,v 1.3 2005/10/02 14:02:29 spock Exp $
inherit eutils
@@ -40,6 +40,10 @@ src_unpack() {
unpack ${A}
cd ${WORKDIR}
mv "${PN}-0.10.4.conf" "${PN}.conf"
+ if ! use ftp ; then
+ sed -i -e 's/\(.*protocol.ftp.*\)/# \1/' ${PN}.conf
+ fi
+
use ppc-macos && epatch ${FILESDIR}/${PN}-osx-configure.diff
}