Subject: FTBFS when building with MAKEFLAGS=-j<x>
From: Albin Tonnerre <[email-masked]>
To: [email-masked]
Date: Sat, 21 Jun 2008 14:00:59 +0200

Package: clisp
Version: 2.44.1
Tags: patch

Hello,
When exporting MAKEFLAGS to build your package, eg
'MAKEFLAGS=-j3 sbuild -Ad sid clisp_2.44.1-1.dsc", it fails to build due to the
following part in debian/rules:

build: configure-stamp build-stamp
build-stamp:

This allows ./configure and 'make' to be run at the same time, which leads to a
build failure.
The attached patch fixes this.

Regards,
-- 
Albin Tonnerre
--- clisp-2.44.1/debian/rules
+++ clisp-2.44.1/debian/rules
@@ -60,8 +60,8 @@
 
 	touch configure-stamp
 
-build: configure-stamp build-stamp
-build-stamp:
+build: build-stamp
+build-stamp: configure-stamp 
 	dh_testdir
 	touch src/VERSION
 	$(MAKE) -C debian/build