Package: htp / 1.19-7

0004-Parallel-ftbfs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Fix occasional parallel FTBFS
 Various source files indirectly include $(d)/version.inc,
 don't regenerate it in the middle of the build.
Author: Adrian Bunk <bunk@debian.org>

--- htp-1.19.orig/src/Makefile.sub
+++ htp-1.19/src/Makefile.sub
@@ -57,14 +57,12 @@ $(HTP) : $(OBJ$(d))
 #
 # implicit dependencies for source code
 #
-$(OBJ$(d)) : %.$(OBJEXT) : %.c
+$(OBJ$(d)) : %.$(OBJEXT) : %.c $(d)/version.inc
 ifdef WIN32DMC
 	cd $(dir $<); $(CC) $(CCOPT) $(DEFINES) $(notdir $<)
 else
 	$(CC) $(CCOPT) $(DEFINES) -o $*.$(OBJEXT) $<
 endif
 
-$(d)/htp.$(OBJEXT) $(d)/ver.$(OBJEXT): $(d)/version.inc
-
 # restore parent dir
 d := $(p$(d))