Package: devscripts
Version: 2.10.13
Severity: wishlist

While dpkg-buildpackage is happy to accept the -j# flag and attempts to build
packages using make -j#, debuild does not.

Here is a patch that fixes that problem:

http://www.jukie.net/~bart/patches/devscripts/20080117/0001-teach-debuild-about-j.patch

I also include it inline below.

Cheers,
-Bart

--- 8< ---
>From 04ef9354f587551897c741621747445e030fbcdc Mon Sep 17 00:00:00 2001
From: Bart Trojanowski <[EMAIL PROTECTED]>
Date: Thu, 17 Jan 2008 10:46:29 -0500
Subject: [PATCH] teach debuild about -j#

Signed-off-by: Bart Trojanowski <[EMAIL PROTECTED]>
---
 scripts/debuild.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/debuild.pl b/scripts/debuild.pl
index 928e638..738d80d 100755
--- a/scripts/debuild.pl
+++ b/scripts/debuild.pl
@@ -835,6 +835,7 @@ if ($command_version eq 'dpkg') {
        /^-e(.*)/ and $changedby=$1, push(@debsign_opts, $_),
            push(@dpkg_opts, $_), next;
        /^-C(.*)/ and $desc=$1, push(@dpkg_opts, $_), next;
+       /^-j(.*)/, push(@dpkg_opts, $_), next;
        $_ eq '-W' and $warnable_error=1, push(@passopts, $_),
            push(@dpkg_opts, $_), next;
        $_ eq '-E' and $warnable_error=0, push(@passopts, $_),
-- 
1.5.3.7.1150.g149d432
--- 8< ---

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23.12-xenon-16 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages devscripts depends on:
ii  debianutils                   2.28.2     Miscellaneous utilities specific t
ii  dpkg-dev                      1.14.7     package building tools for Debian
ii  libc6                         2.7-5      GNU C Library: Shared libraries
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction 
ii  sed                           4.1.5-5    The GNU sed stream editor

Versions of packages devscripts recommends:
ii  fakeroot                      1.8.10     Gives a fake root environment

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to