ports/graphics/fpc-graph/files/patch-packages_graph_fpmake.pp
John Marino f01cba6e50 FPC ecosystem: Upgrade version 2.6.4 => 3.0.0
This is the first major release of FreePascal in nearly four years.
There are a ton of new features, way more to list here. see:
http://wiki.freepascal.org/FPC_New_Features_3.0

Several new unit ports were added, some were contracted.  Most of
those were absorbed into the main FPC packages, but two units are
no longer supported: sndfile and matroshka.

All 99 remaining ports (including Lazarus ports) were build tested
on FreeBSD i386 and amd64 Release 10.2
2015-12-05 23:29:36 +00:00

67 lines
3 KiB
ObjectPascal

--- 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');