public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lan Yixun" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/virtualization:dlan commit in: app-emulation/xen-tools/
Date: Mon, 20 Jan 2014 10:27:04 +0000 (UTC)	[thread overview]
Message-ID: <1390191914.ff987fa6cc438b489e3aa67fb1027f2af7514598.dlan@gentoo> (raw)

commit:     ff987fa6cc438b489e3aa67fb1027f2af7514598
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 17 09:35:49 2014 +0000
Commit:     Lan Yixun <dlan <AT> gentoo <DOT> 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 <dlan <AT> 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}
 }
 


             reply	other threads:[~2014-01-20 10:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20 10:27 Lan Yixun [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-03-19 22:35 [gentoo-commits] proj/virtualization:master commit in: app-emulation/xen-tools/ Lan Yixun
2014-04-04  7:35 ` [gentoo-commits] proj/virtualization:dlan " Lan Yixun
2014-01-20 10:27 Lan Yixun
2014-01-20 10:27 Lan Yixun
2014-01-20 10:27 Lan Yixun
2014-01-20 10:27 Lan Yixun
2014-01-20 10:27 Lan Yixun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1390191914.ff987fa6cc438b489e3aa67fb1027f2af7514598.dlan@gentoo \
    --to=dlan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox