summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ross <aross@gentoo.org>2006-10-09 09:26:53 +0000
committerAndrew Ross <aross@gentoo.org>2006-10-09 09:26:53 +0000
commitd5bef00b16b01a32cc6323406bee29819b46f3d2 (patch)
tree5a9c2f990b286a07dac408b63e608ef306e25870
parentAllow xen-tools to build when progsreiserfs is present (bug #137137) and add ... (diff)
downloadaross-d5bef00b16b01a32cc6323406bee29819b46f3d2.tar.gz
aross-d5bef00b16b01a32cc6323406bee29819b46f3d2.tar.bz2
aross-d5bef00b16b01a32cc6323406bee29819b46f3d2.zip
Sync xen-3.0.2.ebuild with the main tree, which had the AMD64 fix applied without bumping.
svn path=/; revision=24
-rw-r--r--app-emulation/xen/Manifest8
-rw-r--r--app-emulation/xen/xen-3.0.2.ebuild15
2 files changed, 18 insertions, 5 deletions
diff --git a/app-emulation/xen/Manifest b/app-emulation/xen/Manifest
index ccbfc37..c5c4b3b 100644
--- a/app-emulation/xen/Manifest
+++ b/app-emulation/xen/Manifest
@@ -27,10 +27,10 @@ EBUILD xen-3.0.2-r1.ebuild 2513 RMD160 de1bf27d680c6fca08040d08595ce8aebf3e71d2
MD5 a5d26c8799ac4141a64d7bdf05213ab2 xen-3.0.2-r1.ebuild 2513
RMD160 de1bf27d680c6fca08040d08595ce8aebf3e71d2 xen-3.0.2-r1.ebuild 2513
SHA256 b5f532a44bdcdb4258e89abd8a9752a3b534d9a17a3a7c9bfc4a40e052691f5b xen-3.0.2-r1.ebuild 2513
-EBUILD xen-3.0.2.ebuild 2593 RMD160 b39ee760f76df5a62c1bc259b0b87eba40a4b336 SHA1 4d3efa5f481f588360205fd9e086e2890e2af8fa SHA256 d8c525fde493ac1110957d5ff13fbb3bd4dd57ebe2ab5605192176ddc4b055b3
-MD5 c8f3f22e2059173683d3d5495c7e8f04 xen-3.0.2.ebuild 2593
-RMD160 b39ee760f76df5a62c1bc259b0b87eba40a4b336 xen-3.0.2.ebuild 2593
-SHA256 d8c525fde493ac1110957d5ff13fbb3bd4dd57ebe2ab5605192176ddc4b055b3 xen-3.0.2.ebuild 2593
+EBUILD xen-3.0.2.ebuild 2813 RMD160 a976c13cccc9dd0fabab095c7a6f495f58a05728 SHA1 70afd3b5b3306a90b2960854f35524c3f961013d SHA256 2d6ff896b947f7235d4a61689cadb499b2783177ad7eda9f1ffee7ea800c4eae
+MD5 824b5794d05d8bccb56eee25012dc09b xen-3.0.2.ebuild 2813
+RMD160 a976c13cccc9dd0fabab095c7a6f495f58a05728 xen-3.0.2.ebuild 2813
+SHA256 2d6ff896b947f7235d4a61689cadb499b2783177ad7eda9f1ffee7ea800c4eae xen-3.0.2.ebuild 2813
MD5 6618adc624bc8ab64af0f4555c33529a files/digest-xen-3.0.2 235
RMD160 ad3a1d2a82c40b0bca653431c2d7964809580e5e files/digest-xen-3.0.2 235
SHA256 274536fc8a3cb10fda114e533062b0dbddcda4ae15f52033a39b85785b221794 files/digest-xen-3.0.2 235
diff --git a/app-emulation/xen/xen-3.0.2.ebuild b/app-emulation/xen/xen-3.0.2.ebuild
index b18e181..d0fb237 100644
--- a/app-emulation/xen/xen-3.0.2.ebuild
+++ b/app-emulation/xen/xen-3.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-3.0.2.ebuild,v 1.6 2006/08/04 15:09:42 chrb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-3.0.2.ebuild,v 1.7 2006/10/06 23:20:25 aross Exp $
inherit mount-boot flag-o-matic
@@ -25,6 +25,19 @@ RDEPEND=""
RESTRICT="test"
+pkg_setup() {
+ if [[ -z ${XEN_TARGET_ARCH} ]]; then
+ if use x86; then
+ export XEN_TARGET_ARCH="x86_32"
+ elif use amd64; then
+ export XEN_TARGET_ARCH="x86_64"
+ else
+ die "Unsupported architecture!"
+ fi
+ fi
+}
+
+
src_unpack() {
unpack ${A}
# if the user *really* wants to use their own custom-cflags, let them