Package: qemu
Version: 0.9.1-1
Severity: normal
Tags: patch
NJOBS hack in debian/rules overrides -j flag passed by dpkg-buildpackage.
But it can support both things; see attached patch.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.18-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages qemu depends on:
ii bochsbios 2.3.6-2 BIOS for the Bochs emulator
ii libasound2 1.0.16-1 ALSA library
ii libc6 2.7-9 GNU C Library: Shared libraries
ii libgnutls13 2.0.4-3 the GNU TLS library - runtime libr
ii libncurses5 5.6+20080203-1 Shared libraries for terminal hand
ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer
ii openbios-sparc 1.0~alpha2+20080106-2 SPARC Open Firmware
ii openhackware 0.4.1-3 OpenFirmware emulator for PowerPC
ii proll 18-3 JavaStation PROM 2.x compatible re
ii vgabios 0.6a-3 VGA BIOS software for the Bochs an
ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime
Versions of packages qemu recommends:
ii debootstrap 1.0.8 Bootstrap a basic Debian system
ii sharutils 1:4.6.3-1 shar, unshar, uuencode, uudecode
pn vde2 <none> (no description available)
-- no debconf information
diff -ur qemu-0.9.1/debian/rules qemu-0.9.1.new/debian/rules
--- qemu-0.9.1/debian/rules 2008-03-08 12:57:58.000000000 +0100
+++ qemu-0.9.1.new/debian/rules 2008-03-08 12:59:18.000000000 +0100
@@ -20,9 +20,7 @@
# Support multiple makes at once
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-NJOBS := $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-else
-NJOBS := 1
+NJOBS := -j $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
endif
D = $(CURDIR)/debian/qemu
@@ -59,7 +57,7 @@
build: patch config-host.mak
dh_testdir
- $(MAKE) -j $(NJOBS)
+ $(MAKE) $(NJOBS)
$(MAKE) -C pc-bios
clean: unpatch