summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-12 12:35:36 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-12 12:35:36 +0000
commit8d92885ff8ddf5b9e80537ee89d9a94a6586927c (patch)
treeaa0c4f9a7a021f9e849c531ca8b3c8f9d9db5a49 /app-emulation/libvirt/libvirt-0.7.6-r1.ebuild
parentVersion bumped, bug #304637. (diff)
downloadgentoo-2-8d92885ff8ddf5b9e80537ee89d9a94a6586927c.tar.gz
gentoo-2-8d92885ff8ddf5b9e80537ee89d9a94a6586927c.tar.bz2
gentoo-2-8d92885ff8ddf5b9e80537ee89d9a94a6586927c.zip
Add workaround for bug #275073. Proper fix sent upstream.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/libvirt/libvirt-0.7.6-r1.ebuild')
-rw-r--r--app-emulation/libvirt/libvirt-0.7.6-r1.ebuild14
1 files changed, 13 insertions, 1 deletions
diff --git a/app-emulation/libvirt/libvirt-0.7.6-r1.ebuild b/app-emulation/libvirt/libvirt-0.7.6-r1.ebuild
index b5c81a821aa8..888e50b3581f 100644
--- a/app-emulation/libvirt/libvirt-0.7.6-r1.ebuild
+++ b/app-emulation/libvirt/libvirt-0.7.6-r1.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-emulation/libvirt/libvirt-0.7.6-r1.ebuild,v 1.1 2010/02/04 07:05:48 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.7.6-r1.ebuild,v 1.2 2010/02/12 12:35:36 flameeyes Exp $
BACKPORTS=
@@ -117,6 +117,18 @@ src_configure() {
# we use udev over hal
myconf="${myconf} --without-hal"
+ # this is a nasty trick to work around the problem in bug
+ # #275073. The reason why we don't solve this properly is that
+ # it'll require us to rebuild autotools (and we don't really want
+ # to do that right now). The proper solution has been sent
+ # upstream and should hopefully land in 0.7.7, in the mean time,
+ # mime the same functionality with this.
+ case ${CHOST} in
+ *cygwin* | *mingw* )
+ ac_cv_prog_WINDRES=no
+ ;;
+ esac
+
econf \
${myconf} \
--disable-static \