summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2010-12-28 22:11:45 +0000
committerChristian Ruppert <idl0r@gentoo.org>2010-12-28 22:11:45 +0000
commit4aceaf8d1c8a3b088380e74fc6a2abbc6c337e81 (patch)
tree70d86c1432a385884eb2413c5f90edb75413e74e /app-backup/amanda
parentMake curl and readline optional. (diff)
downloadgentoo-2-4aceaf8d1c8a3b088380e74fc6a2abbc6c337e81.tar.gz
gentoo-2-4aceaf8d1c8a3b088380e74fc6a2abbc6c337e81.tar.bz2
gentoo-2-4aceaf8d1c8a3b088380e74fc6a2abbc6c337e81.zip
Fix libcurl dependency again.
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'app-backup/amanda')
-rw-r--r--app-backup/amanda/ChangeLog5
-rw-r--r--app-backup/amanda/amanda-3.2.1.ebuild11
2 files changed, 12 insertions, 4 deletions
diff --git a/app-backup/amanda/ChangeLog b/app-backup/amanda/ChangeLog
index d3ce1da7cd4f..0c77352728c4 100644
--- a/app-backup/amanda/ChangeLog
+++ b/app-backup/amanda/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-backup/amanda
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/amanda/ChangeLog,v 1.75 2010/12/28 22:06:33 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/amanda/ChangeLog,v 1.76 2010/12/28 22:11:45 idl0r Exp $
+
+ 28 Dec 2010; Christian Ruppert <idl0r@gentoo.org> amanda-3.2.1.ebuild:
+ Fix libcurl dependency again.
28 Dec 2010; Christian Ruppert <idl0r@gentoo.org> amanda-3.2.1.ebuild:
Make curl and readline optional.
diff --git a/app-backup/amanda/amanda-3.2.1.ebuild b/app-backup/amanda/amanda-3.2.1.ebuild
index 21e6cf316812..5430830765b7 100644
--- a/app-backup/amanda/amanda-3.2.1.ebuild
+++ b/app-backup/amanda/amanda-3.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/amanda/amanda-3.2.1.ebuild,v 1.3 2010/12/28 22:06:33 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/amanda/amanda-3.2.1.ebuild,v 1.4 2010/12/28 22:11:45 idl0r Exp $
EAPI=3
inherit autotools eutils perl-module
@@ -21,7 +21,8 @@ RDEPEND="sys-libs/readline
net-misc/openssh
>=dev-libs/glib-2.26.0
nls? ( virtual/libintl )
- curl? ( >=net-misc/curl-7.10.0 )
+ s3? ( >=net-misc/curl-7.10.0 )
+ !s3? ( curl? ( >=net-misc/curl-7.10.0 ) )
samba? ( net-fs/samba )
kerberos? ( app-crypt/mit-krb5 )
xfs? ( sys-fs/xfsdump )
@@ -243,6 +244,11 @@ src_configure() {
# Amazon S3 support
myconf="${myconf} `use_enable s3 s3-device`"
+ # libcurl is required for S3 but otherwise optional
+ if ! use s3; then
+ myconf="${myconf} $(use_with curl libcurl)"
+ fi
+
# Client only, as requested in bug #127725
if use minimal ; then
myconf="${myconf} --without-server"
@@ -270,7 +276,6 @@ src_configure() {
econf \
$(use_with readline) \
- $(use_with curl libcurl) \
${myconf}
}