diff options
Diffstat (limited to 'app-emulation/xen-pvgrub/xen-pvgrub-4.2.1.ebuild')
-rw-r--r-- | app-emulation/xen-pvgrub/xen-pvgrub-4.2.1.ebuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/app-emulation/xen-pvgrub/xen-pvgrub-4.2.1.ebuild b/app-emulation/xen-pvgrub/xen-pvgrub-4.2.1.ebuild index c6ffd2658f9e..560887f36597 100644 --- a/app-emulation/xen-pvgrub/xen-pvgrub-4.2.1.ebuild +++ b/app-emulation/xen-pvgrub/xen-pvgrub-4.2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-pvgrub/xen-pvgrub-4.2.1.ebuild,v 1.1 2013/01/28 05:29:05 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-pvgrub/xen-pvgrub-4.2.1.ebuild,v 1.2 2013/01/30 14:12:30 idella4 Exp $ EAPI="4" @@ -29,7 +29,7 @@ IUSE="custom-cflags" DEPEND="sys-devel/gettext sys-devel/gcc" -RDEPEND="=app-emulation/xen-${PV}" +RDEPEND=">=app-emulation/xen-4.2.1" src_prepare() { @@ -67,6 +67,9 @@ src_prepare() { # Drop .config and Fix gcc-4.6 epatch "${FILESDIR}"/${PN/-pvgrub/}-4-fix_dotconfig-gcc.patch + + # fix jobserver in Makefile + epatch "${FILESDIR}"/${PN/-pvgrub/}-4.2.0-jserver.patch } src_compile() { @@ -79,14 +82,14 @@ src_compile() { # TODO; fix those -j1 if use x86; then - emake -j1 CC="$(tc-getCC)" LD="$(tc-getLD)" \ + emake CC="$(tc-getCC)" LD="$(tc-getLD)" \ XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub elif use amd64; then - emake -j1 CC="$(tc-getCC)" LD="$(tc-getLD)" \ + emake CC="$(tc-getCC)" LD="$(tc-getLD)" \ XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub if use multilib; then multilib_toolchain_setup x86 - emake -j1 XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub + emake XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub fi fi } |