File: fix_make_files_generation.patch

package info (click to toggle)
fpc 3.2.2%2Bdfsg-49
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 341,452 kB
  • sloc: pascal: 3,820,194; xml: 194,356; ansic: 9,637; asm: 8,482; java: 5,346; sh: 4,813; yacc: 3,956; makefile: 2,705; lex: 2,661; javascript: 2,454; sql: 929; php: 474; cpp: 145; perl: 136; sed: 132; csh: 34; tcl: 7
file content (96 lines) | stat: -rw-r--r-- 2,722 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
From: Abou Al Montacir <abou.almontacir@sfr.fr>
Date: Sun, 04 Dec 2017 23:55:22 +0100
Description: Fix sub directories in Makefile.fpc to allor recursive generation.

Index: fpc/fpcsrc/Makefile.fpc
===================================================================
--- fpc.orig/fpcsrc/Makefile.fpc
+++ fpc/fpcsrc/Makefile.fpc
@@ -7,7 +7,7 @@ name=fpc
 version=3.2.2
 
 [target]
-dirs=compiler rtl utils packages installer
+dirs=compiler rtl utils packages installer tests
 
 [require]
 nortl=y
Index: fpc/fpcsrc/packages/ide/Makefile.fpc
===================================================================
--- fpc.orig/fpcsrc/packages/ide/Makefile.fpc
+++ fpc/fpcsrc/packages/ide/Makefile.fpc
@@ -5,6 +5,9 @@
 name=ide
 version=3.2.2
 
+[target]
+dirs=fakegdb compiler
+
 [require]
 packages=rtl fpmkunit rtl-extra fv chm regexpr
 packages_go32v2=graph
Index: fpc/fpcsrc/packages/Makefile.fpc
===================================================================
--- fpc.orig/fpcsrc/packages/Makefile.fpc
+++ fpc/fpcsrc/packages/Makefile.fpc
@@ -2,6 +2,9 @@
 #
 #   Makefile.fpc for Free Pascal Packages
 #
+[target]
+dirs= paszlib fcl-process hash libtar fpmkunit
+
 [require]
 packages=rtl
 
Index: fpc/fpcsrc/utils/Makefile.fpc
===================================================================
--- fpc.orig/fpcsrc/utils/Makefile.fpc
+++ fpc/fpcsrc/utils/Makefile.fpc
@@ -1,6 +1,9 @@
 #
 #   Makefile.fpc for running fpmake
 #
+[target]
+dirs=fpcm debugsvr dxegen fpcmkcfg fpcreslipo fpcres fpdoc fppkg fprcp h2pas importtl instantfpc mksymbian pas2fpm pas2jni pas2js pas2ut rmwait tply unicode json2pas
+
 [require]
 packages=rtl fpmkunit fcl-json
 
Index: fpc/fpcsrc/utils/fpcm/fpmake.pp
===================================================================
--- fpc.orig/fpcsrc/utils/fpcm/fpmake.pp
+++ fpc/fpcsrc/utils/fpcm/fpmake.pp
@@ -215,7 +215,7 @@ begin
 {$endif ALLPACKAGES}
     P.Version:='3.2.2';
 
-    P.Dependencies.Add('fcl-base');
+    //P.Dependencies.Add('fcl-base');
 
     T:=P.Targets.AddProgram('fpcmake.pp');
 
Index: fpc/fpcsrc/tests/Makefile.fpc
===================================================================
--- fpc.orig/fpcsrc/tests/Makefile.fpc
+++ fpc/fpcsrc/tests/Makefile.fpc
@@ -10,6 +10,7 @@ fpcdir=..
 rule=allexectests
 
 [target]
+dirs=tstunits utils
 programs=gparmake createlst
 
 [rules]
Index: fpc/fpcsrc/tests/utils/Makefile.fpc
===================================================================
--- fpc.orig/fpcsrc/tests/utils/Makefile.fpc
+++ fpc/fpcsrc/tests/utils/Makefile.fpc
@@ -13,6 +13,7 @@ fpcdir=../..
 nortl=y
 
 [target]
+dirs=testsuite
 programs=dotest fptime fail testfail digest concat $(DBDIGEST) $(MSDOSPROG)
 programs_win32=prepup
 programs_win64=prepup