Package: inkscape Version: 0.47.0-1 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu lucid ubuntu-patch
Hello! The attached patch will process DEB_BUILD_OPTIONS for the "parallel=N" flag allowing for faster builds on SMP systems. Thanks! -Kees -- Kees Cook @debian.org
diff -uNrp inkscape-0.47.0~/debian/rules inkscape-0.47.0/debian/rules --- inkscape-0.47.0~/debian/rules 2009-12-23 15:27:53.000000000 -0800 +++ inkscape-0.47.0/debian/rules 2009-12-23 15:25:58.000000000 -0800 @@ -34,6 +34,14 @@ ifneq (,$(findstring $(DEB_HOST_ARCH),al ALPHA_LDFLAGS=-Wl,--no-relax endif +# Handle DEB_BUILD_OPTIONS=parallel=N +, := , +ifneq (,$(filter parallel=%,$(subst $(,), ,$(DEB_BUILD_OPTIONS)))) + NUMJOBS := $(patsubst parallel=%,%,$(filter parallel=%,$(subst $(,), ,$(DEB_BUILD_OPTIONS)))) + MAKEFLAGS += -j$(NUMJOBS) +endif + + config.status: configure patch dh_testdir