From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8C631138247 for ; Mon, 20 Jan 2014 10:27:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E29B4E0DED; Mon, 20 Jan 2014 10:27:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 083E4E0DED for ; Mon, 20 Jan 2014 10:27:08 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B10833F9DF for ; Mon, 20 Jan 2014 10:27:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id E216E18732 for ; Mon, 20 Jan 2014 10:27:04 +0000 (UTC) From: "Lan Yixun" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lan Yixun" Message-ID: <1390191914.ff987fa6cc438b489e3aa67fb1027f2af7514598.dlan@gentoo> Subject: [gentoo-commits] proj/virtualization:dlan commit in: app-emulation/xen-tools/ X-VCS-Repository: proj/virtualization X-VCS-Files: app-emulation/xen-tools/xen-tools-4.4.0_rc2.ebuild X-VCS-Directories: app-emulation/xen-tools/ X-VCS-Committer: dlan X-VCS-Committer-Name: Lan Yixun X-VCS-Revision: ff987fa6cc438b489e3aa67fb1027f2af7514598 X-VCS-Branch: dlan Date: Mon, 20 Jan 2014 10:27:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ea2deb95-1947-43b2-b7c8-7921d16c86b8 X-Archives-Hash: 092d829ffd0e899f7c5a8ca941a7f548 commit: ff987fa6cc438b489e3aa67fb1027f2af7514598 Author: Yixun Lan gentoo org> AuthorDate: Fri Jan 17 09:35:49 2014 +0000 Commit: Lan Yixun gentoo org> CommitDate: Mon Jan 20 04:25:14 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/virtualization.git;a=commit;h=ff987fa6 app-emulation/xen-tools: rework src_configure() Signed-off-by: Yixun Lan gentoo.org> --- app-emulation/xen-tools/xen-tools-4.4.0_rc2.ebuild | 23 +++++++++------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/app-emulation/xen-tools/xen-tools-4.4.0_rc2.ebuild b/app-emulation/xen-tools/xen-tools-4.4.0_rc2.ebuild index c04d296..0f70812 100644 --- a/app-emulation/xen-tools/xen-tools-4.4.0_rc2.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.4.0_rc2.ebuild @@ -138,6 +138,8 @@ pkg_setup() { die "Unsupported architecture!" fi fi + #bug 472438 + export BASH_COMPLETION_DIR=/usr/share/bash-completion } src_prepare() { @@ -236,20 +238,13 @@ src_prepare() { } src_configure() { - local myconf="--prefix=/usr --libdir=/usr/$(get_libdir) --disable-werror" - - if use ocaml - then - myconf="${myconf} $(use_enable ocaml ocamltools)" - else - myconf="${myconf} --disable-ocamltools" - fi - - if ! use pam - then - myconf="${myconf} --disable-pam" - fi - + local myconf="--prefix=/usr \ + --libdir=/usr/$(get_libdir) \ + --disable-werror + $(use_enable pam) + $(use_enable api xenapi) + $(use_enable ocaml ocamltools) + " econf ${myconf} }