diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-19 14:41:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-19 14:41:50 +0000 |
commit | 89dfa18c0caeb93969236f0383263dbfe303de71 (patch) | |
tree | 8f158ddf44cb496f376d53b92a50db208baceb21 /main/qemu | |
parent | 33e66e9b76d9100bece0da72f7da51643e00acad (diff) | |
download | aports-89dfa18c0caeb93969236f0383263dbfe303de71.tar.bz2 aports-89dfa18c0caeb93969236f0383263dbfe303de71.tar.xz |
main/qemu: fix build on arm
Diffstat (limited to 'main/qemu')
-rw-r--r-- | main/qemu/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/qemu/APKBUILD b/main/qemu/APKBUILD index 32655cfe50..8abff203d6 100644 --- a/main/qemu/APKBUILD +++ b/main/qemu/APKBUILD @@ -83,7 +83,8 @@ case "$CARCH" in _arch=x86_64 subpackages="$subpackages $pkgname-gtk" ;; - *) _arch="";; + *) _arch="" + ;; esac subpackages="$subpackages $pkgname-img" @@ -147,7 +148,7 @@ build() { mkdir -p "$srcdir"/qemu-$pkgver/build "$srcdir"/qem \ "$srcdir"/qemu-$pkgver/build-gtk cd "$srcdir"/qemu-$pkgver/build - + _compile \ --enable-vnc \ --enable-spice \ @@ -186,6 +187,9 @@ package() { "$pkgdir"/lib/udev/rules.d/80-kvm.rules || return 1 paxmark -m "$pkgdir"/usr/bin/qemu-system-* || return 1 + if [ -z "$_arch" ]; then + return 0 + fi cd "$srcdir"/qemu-$pkgver/build-gtk install $_arch-softmmu/qemu-system-$_arch \ "$pkgdir"/usr/bin/qemu-system-$_arch-gtk |