summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2012-02-25 20:57:58 +0000
committerDoug Goldstein <cardoe@gentoo.org>2012-02-25 20:57:58 +0000
commita1d9652f38b5c8d4e16b01ebfe428a3c2ba344c2 (patch)
treef7a823c5da72153952fe78a1fad45a7974bf9751 /app-emulation
parentMask directfb for gnash. (diff)
downloadgentoo-2-a1d9652f38b5c8d4e16b01ebfe428a3c2ba344c2.tar.gz
gentoo-2-a1d9652f38b5c8d4e16b01ebfe428a3c2ba344c2.tar.bz2
gentoo-2-a1d9652f38b5c8d4e16b01ebfe428a3c2ba344c2.zip
Initial attempt to support static builds.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/qemu-kvm/ChangeLog5
-rw-r--r--app-emulation/qemu-kvm/qemu-kvm-1.0-r3.ebuild16
2 files changed, 12 insertions, 9 deletions
diff --git a/app-emulation/qemu-kvm/ChangeLog b/app-emulation/qemu-kvm/ChangeLog
index 4de4cd5c1c99..13d4b3e1287c 100644
--- a/app-emulation/qemu-kvm/ChangeLog
+++ b/app-emulation/qemu-kvm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-emulation/qemu-kvm
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/ChangeLog,v 1.100 2012/02/19 23:20:35 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/ChangeLog,v 1.101 2012/02/25 20:57:58 cardoe Exp $
+
+ 25 Feb 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.0-r3.ebuild:
+ Initial attempt to support static builds.
19 Feb 2012; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-0.14.1-r2.ebuild:
Drop older version
diff --git a/app-emulation/qemu-kvm/qemu-kvm-1.0-r3.ebuild b/app-emulation/qemu-kvm/qemu-kvm-1.0-r3.ebuild
index f70d3731ca9e..b5ef5f77dc59 100644
--- a/app-emulation/qemu-kvm/qemu-kvm-1.0-r3.ebuild
+++ b/app-emulation/qemu-kvm/qemu-kvm-1.0-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-1.0-r3.ebuild,v 1.2 2012/02/20 18:45:01 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-1.0-r3.ebuild,v 1.3 2012/02/25 20:57:58 cardoe Exp $
#BACKPORTS=1
@@ -31,10 +31,8 @@ LICENSE="GPL-2"
SLOT="0"
# xen is disabled until the deps are fixed
IUSE="+aio alsa bluetooth brltty curl debug esd fdt ncurses \
-opengl pulseaudio qemu-ifup rbd sasl sdl smartcard spice test +threads tls \
-usbredir vde +vhost-net xattr xen"
-# static, depends on libsdl being built with USE=static-libs, which can not
-# be expressed in current EAPI's
+opengl pulseaudio qemu-ifup rbd sasl sdl smartcard spice static test
++threads tls usbredir vde +vhost-net xattr xen"
COMMON_TARGETS="i386 x86_64 arm cris m68k microblaze mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} mips64 mips64el ppcemb"
@@ -64,7 +62,6 @@ RDEPEND="
media-libs/libpng
sys-apps/pciutils
>=sys-apps/util-linux-2.16.0
- sys-libs/zlib
virtual/jpeg
amd64? ( sys-apps/seabios
sys-apps/vgabios )
@@ -83,7 +80,10 @@ RDEPEND="
qemu-ifup? ( sys-apps/iproute2 net-misc/bridge-utils )
rbd? ( sys-cluster/ceph )
sasl? ( dev-libs/cyrus-sasl )
- sdl? ( >=media-libs/libsdl-1.2.11[X] )
+ sdl? ( static? ( >=media-libs/libsdl-1.2.11[static-libs,X] )
+ !static? ( >=media-libs/libsdl-1.2.11[X] ) )
+ static? ( sys-libs/zlib[static-libs] )
+ !static? ( sys-libs/zlib[static-libs] )
smartcard? ( dev-libs/nss )
spice? ( >=app-emulation/spice-0.9.0
>=app-emulation/spice-protocol-0.8.1 )
@@ -235,7 +235,7 @@ src_configure() {
conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
# Add support for static builds
- #use static && conf_opts="${conf_opts} --static"
+ use static && conf_opts="${conf_opts} --static"
# Support debug USE flag
use debug && conf_opts="${conf_opts} --enable-debug"