Package: mongodb-server Version: 2.0.0-2 Severity: minor Tags: patch hi, i saw that DEB_BUILD_OPTIONS=parallel=x doesnt work in this package , the package does not pass to scons the -j option I`m attaching a patch that solved my problem, hope that helps
-- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.0.8-ahfalo (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- mongodb-2.0.0/debian/rules 2011-09-25 18:22:51.000000000 +0000 +++ mongodb-2.0.0.new/debian/rules 2011-10-26 20:10:20.177819560 +0000 @@ -13,6 +13,10 @@ ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) DEB_SCONS_OPTIONS := --d=DEBUGBUILD endif +ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS))) + PROCS=$(subst parallel=,,$(DEB_BUILD_OPTIONS)) + DEB_SCONS_OPTIONS := -j$(PROCS) +endif DEB_SCONS_BUILD_TARGET = all DEB_SCONS_INSTALL_OPTIONS += --prefix=$(CURDIR)/debian/tmp/usr --full