summaryrefslogtreecommitdiff
path: root/graphics/fpc-graph/files/patch-packages_graph_fpmake.pp
blob: f40b3671e65930b3961933d9fefbb478b529cf17 (plain)
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
--- packages/graph/fpmake.pp.orig	2015-11-13 21:15:29 UTC
+++ packages/graph/fpmake.pp
@@ -26,14 +26,14 @@ begin
     P.NeedLibC:= false;  // true for headers that indirectly link to libc? OS specific?
 
     P.CPUs:=[i386,x86_64,powerpc,i8086];
-    P.OSes:=[go32v2,win32,win64,linux,freebsd,darwin,msdos];
+    P.OSes:=[go32v2,win32,win64,linux,dragonfly,freebsd,darwin,msdos];
 
-    P.Dependencies.Add('sdl',[i386,powerpc],[win32,linux,freebsd,darwin]);
+    P.Dependencies.Add('sdl',[i386,powerpc],[win32,linux,dragonfly,freebsd,darwin]);
     P.Dependencies.Add('ptc',[win32,win64,linux]);
 
     // Dependencies for ptc, due to fpcmake bug:
     P.Dependencies.Add('fcl-base',[win32,win64,linux]);
-    P.Dependencies.Add('x11',[freebsd,linux]); // ptc only depends on reebsd and linux on x11
+    P.Dependencies.Add('x11',[dragonfly,freebsd,linux]); // ptc only depends on reebsd and linux on x11
     P.Dependencies.Add('hermes',[win32,win64,linux]);
     P.Dependencies.Add('opengl',[win32,win64,linux]);
 
@@ -44,15 +44,15 @@ begin
     P.SourcePath.Add('src/go32v2',[go32v2]);
     P.SourcePath.Add('src/msdos',[msdos]);
     P.SourcePath.Add('src/win32',[win32,win64]);
-    P.SourcePath.Add('src/unix',[freebsd,linux]);  // Darwin has own.
+    P.SourcePath.Add('src/unix',[dragonfly,freebsd,linux]);  // Darwin has own.
 
     P.IncludePath.Add('src/inc');
     P.IncludePath.Add('src/go32v2',[go32v2]);
     P.IncludePath.Add('src/msdos',[msdos]);
-    P.IncludePath.Add('src/unix',[freebsd,linux]);  // Darwin has own.
+    P.IncludePath.Add('src/unix',[dragonfly,freebsd,linux]);  // Darwin has own.
     P.IncludePath.Add('src/go32v2',[go32v2]);
 
-    T:=P.Targets.AddUnit('ggigraph.pp',[linux,freebsd]);
+    T:=P.Targets.AddUnit('ggigraph.pp',[linux,dragonfly,freebsd]);
       with T.Dependencies do
         begin
           AddInclude('graphh.inc');
@@ -76,10 +76,10 @@ begin
           AddInclude('modes.inc');
           AddInclude('fills.inc');
           AddInclude('gtext.inc');
-          AddInclude('graph16.inc',[freebsd,linux]);
+          AddInclude('graph16.inc',[dragonfly,freebsd,linux]);
         end;
     // Graph unit other targets
-    T:=P.Targets.AddUnit('graph.pp',[go32v2,amiga,win32,win64,freebsd,msdos]);
+    T:=P.Targets.AddUnit('graph.pp',[go32v2,amiga,win32,win64,dragonfly,freebsd,msdos]);
       with T.Dependencies do
         begin
           AddInclude('graphh.inc');
@@ -90,12 +90,12 @@ begin
           AddInclude('modes.inc');
           AddInclude('fills.inc');
           AddInclude('gtext.inc');
-          AddInclude('graph16.inc',[freebsd,linux]);
+          AddInclude('graph16.inc',[dragonfly,freebsd,linux]);
           AddInclude('vesa.inc',[go32v2,msdos]);
           AddInclude('vesah.inc',[go32v2,msdos]);
         end;
 
-    T:=P.Targets.AddUnit('src/sdlgraph/sdlgraph.pp',[i386,powerpc],[win32,linux,freebsd,darwin]);
+    T:=P.Targets.AddUnit('src/sdlgraph/sdlgraph.pp',[i386,powerpc],[win32,linux,dragonfly,freebsd,darwin]);
       with T.Dependencies do
         begin
           AddInclude('graphh.inc');