summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-28 17:26:54 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-28 17:26:54 +0000
commit01709ee6f4b455f4d2706b3568086da763ca6eab (patch)
treecddc04b6934f46007133dc2ec8751fc743382fbe /dev-libs/xmlsec
parentMarked ~ppc for bug #302563. (diff)
downloadgentoo-2-01709ee6f4b455f4d2706b3568086da763ca6eab.tar.gz
gentoo-2-01709ee6f4b455f4d2706b3568086da763ca6eab.tar.bz2
gentoo-2-01709ee6f4b455f4d2706b3568086da763ca6eab.zip
Fix configuration (bug #321783).
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/xmlsec')
-rw-r--r--dev-libs/xmlsec/ChangeLog6
-rw-r--r--dev-libs/xmlsec/xmlsec-1.2.16.ebuild28
2 files changed, 19 insertions, 15 deletions
diff --git a/dev-libs/xmlsec/ChangeLog b/dev-libs/xmlsec/ChangeLog
index 3a19cb308e39..dc65e683c061 100644
--- a/dev-libs/xmlsec/ChangeLog
+++ b/dev-libs/xmlsec/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/xmlsec
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/ChangeLog,v 1.21 2010/05/27 13:39:49 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/ChangeLog,v 1.22 2010/05/28 17:26:54 arfrever Exp $
+
+ 28 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ xmlsec-1.2.16.ebuild:
+ Fix configuration (bug #321783).
*xmlsec-1.2.16 (27 May 2010)
diff --git a/dev-libs/xmlsec/xmlsec-1.2.16.ebuild b/dev-libs/xmlsec/xmlsec-1.2.16.ebuild
index ec67997608fe..318fca97d31b 100644
--- a/dev-libs/xmlsec/xmlsec-1.2.16.ebuild
+++ b/dev-libs/xmlsec/xmlsec-1.2.16.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/dev-libs/xmlsec/xmlsec-1.2.16.ebuild,v 1.1 2010/05/27 13:39:49 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/xmlsec-1.2.16.ebuild,v 1.2 2010/05/28 17:26:54 arfrever Exp $
EAPI="3"
@@ -27,19 +27,6 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${PN}1-${PV}"
-# Redefine use_with() until fixed version is available in released versions of Portage.
-# http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a05bba76435d94407fd25549d0552902962baf62
-use_with() {
- local UW_SUFFIX=${3+=$3}
- local UWORD=${2:-$1}
-
- if useq $1; then
- echo "--with-${UWORD}${UW_SUFFIX}"
- else
- echo "--without-${UWORD}"
- fi
-}
-
pkg_setup() {
if ! use gcrypt && ! use gnutls && ! use nss && ! use openssl; then
die "At least one of the following USE flags must be enabled: gcrypt gnutls nss openssl"
@@ -56,6 +43,19 @@ pkg_setup() {
#}
src_configure() {
+ # Redefine use_with() until fixed version is available in released versions of Portage.
+ # http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a05bba76435d94407fd25549d0552902962baf62
+ use_with() {
+ local UW_SUFFIX=${3+=$3}
+ local UWORD=${2:-$1}
+
+ if useq $1; then
+ echo "--with-${UWORD}${UW_SUFFIX}"
+ else
+ echo "--without-${UWORD}"
+ fi
+ }
+
econf \
$(use_with gcrypt gcrypt "") \
$(use_with gnutls gnutls "") \