summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/Makefile.fpc.fpcmake18
-rw-r--r--packages/aspell/fpmake.pp2
-rw-r--r--packages/bfd/fpmake.pp2
-rw-r--r--packages/cairo/fpmake.pp2
-rw-r--r--packages/dblib/fpmake.pp2
-rw-r--r--packages/fcl-db/fpmake.pp12
-rw-r--r--packages/fcl-db/src/sqldb/interbase/fpmake.inc2
-rw-r--r--packages/fcl-db/src/sqldb/mssql/fpmake.inc2
-rw-r--r--packages/fcl-db/src/sqldb/mysql/fpmake.inc2
-rw-r--r--packages/fcl-db/src/sqldb/postgres/fpmake.inc2
-rw-r--r--packages/fcl-image/fpmake.pp6
-rw-r--r--packages/fcl-net/fpmake.pp4
-rw-r--r--packages/fcl-net/src/cnetdb.pp2
-rw-r--r--packages/fcl-web/fpmake.pp2
-rw-r--r--packages/fpgtk/fpmake.pp2
-rw-r--r--packages/fpindexer/fpmake.pp6
-rw-r--r--packages/fpmkunit/src/fpmkunit.pp13
-rw-r--r--packages/fppkg/fpmake.pp2
-rw-r--r--packages/fv/fpmake.pp2
-rw-r--r--packages/gdbint/fpmake.pp2
-rw-r--r--packages/gdbint/src/gdbint.pp35
-rw-r--r--packages/ggi/fpmake.pp2
-rw-r--r--packages/libcurl/fpmake.pp2
-rw-r--r--packages/librsvg/fpmake.pp2
-rw-r--r--packages/ncurses/fpmake.pp2
-rw-r--r--packages/pthreads/fpmake.pp2
-rw-r--r--packages/pxlib/fpmake.pp2
-rw-r--r--packages/rtl-extra/fpmake.pp6
-rw-r--r--packages/rtl-unicode/fpmake.pp6
-rw-r--r--packages/svgalib/fpmake.pp2
-rw-r--r--packages/syslog/fpmake.pp2
-rw-r--r--packages/utmp/fpmake.pp2
-rw-r--r--packages/x11/fpmake.pp2
-rw-r--r--packages/xforms/fpmake.pp2
34 files changed, 98 insertions, 58 deletions
diff --git a/packages/Makefile.fpc.fpcmake b/packages/Makefile.fpc.fpcmake
index ef65768d1f..0076a32b75 100644
--- a/packages/Makefile.fpc.fpcmake
+++ b/packages/Makefile.fpc.fpcmake
@@ -25,6 +25,10 @@ dirs_freebsd=rtl-console rtl-unicode fv fcl-web fastcgi fcl-async ibase mysql nc
gdbint libpng x11 gdbm tcl syslog libcurl opengl cairo bfd aspell svgalib \
imlib utmp fpgtk xforms fftw pcap ggi sdl openssl graph gnome1 gtk1 gtk2 librsvg httpd22 pxlib numlib \
users iconvenc gmp fcl-extra libxml
+dirs_dragonfly=rtl-console fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
+ gdbint libpng x11 gdbm tcl syslog libcurl opengl cairo bfd aspell svgalib \
+ imlib utmp fpgtk xforms fftw pcap ggi sdl openssl graph gnome1 gtk1 gtk2 librsvg httpd22 pxlib numlib \
+ users iconvenc gmp fcl-extra libxml
dirs_darwin=rtl-console rtl-unicode fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
libpng gdbm tcl syslog libcurl bfd aspell utmp fftw pcap openssl numlib iconvenc gmp fcl-extra univint iosxlocale
dirs_iphonesim=rtl-console rtl-unicode fv fcl-web fastcgi fcl-async ibase mysql ncurses zlib oracle odbc postgres sqlite pthreads imagemagick \
@@ -154,7 +158,7 @@ iosxlocale_release: univint_release
iosxlocle_shared: univint_shared
endif
-ifneq ($(findstring $(OS_TARGET),beos haiku freebsd darwin iphonesim solaris netbsd openbsd linux win32 win64 wince),)
+ifneq ($(findstring $(OS_TARGET),beos haiku freebsd darwin iphonesim solaris netbsd openbsd linux win32 win64 wince dragonfly),)
fppkg_all: fpmkunit_all fcl-base_all fcl-xml_all fcl-process_all fcl-net_all paszlib_all fcl-web_all fpmkunit_all
fppkg_debug: fpmkunit_debug fcl-base_debug fcl-xml_debug fcl-process_debug fcl-net_debug paszlib_debug fcl-web_debug fpmkunit_debug
fppkg_smart: fpmkunit_smart fcl-base_smart fcl-xml_smart fcl-process_smart fcl-net_smart paszlib_smart fcl-web_smart fpmkunit_smart
@@ -204,7 +208,7 @@ fcl-registry_smart: fpmkunit_smart fcl-xml_smart
fcl-registry_release: fpmkunit_release fcl-xml_release
fcl-registry_shared: fpmkunit_shared fcl-xml_shared
-ifeq ($(findstring $(OS_TARGET),linux darwin iphonesim freebsd openbsd netbsd solaris),)
+ifeq ($(findstring $(OS_TARGET),linux darwin iphonesim freebsd openbsd netbsd solaris dragonfly),)
fcl-net_all: fpmkunit_all fcl-passrc_all fcl-xml_all
fcl-net_debug: fpmkunit_debug fcl-passrc_debug fcl-xml_debug
fcl-net_smart: fpmkunit_smart fcl-passrc_smart fcl-xml_smart
@@ -248,7 +252,7 @@ fcl-async_smart: fpmkunit_smart
fcl-async_release: fpmkunit_release
fcl-async_shared: fpmkunit_shared
-ifneq ($(findstring $(OS_TARGET),linux freebsd openbsd netbsd win32 beos haiku),)
+ifneq ($(findstring $(OS_TARGET),linux freebsd openbsd netbsd win32 beos haiku dragonfly),)
fcl-db_all: fcl-xml_all fcl-base_all mysql_all ibase_all oracle_all odbc_all postgres_all sqlite_all pxlib_all fcl-json_all fpmkunit_all
fcl-db_debug: fcl-xml_debug fcl-base_debug mysql_debug ibase_debug oracle_debug odbc_debug postgres_debug sqlite_debug pxlib_debug fcl-json_debug fpmkunit_debug
fcl-db_smart: fcl-xml_smart fcl-base_smart mysql_smart ibase_smart oracle_smart odbc_smart postgres_smart sqlite_smart pxlib_smart fcl-json_smart fpmkunit_smart
@@ -282,7 +286,7 @@ libpng_smart: zlib_smart fpmkunit_smart
libpng_release: zlib_release fpmkunit_release
libpng_shared: zlib_shared fpmkunit_shared
-ifneq ($(findstring $(OS_TARGET),linux darwin iphonesim freebsd openbsd netbsd solaris),)
+ifneq ($(findstring $(OS_TARGET),linux darwin iphonesim freebsd openbsd netbsd solaris dragonfly),)
cairo_all: x11_all fcl-image_all fpmkunit_all
cairo_debug: x11_debug fcl-image_debug fpmkunit_debug
cairo_smart: x11_smart fcl-image_smart fpmkunit_smart
@@ -324,7 +328,7 @@ graph_debug: ptc_debug
graph_release: ptc_release
endif
-ifneq ($(findstring $(OS_TARGET),linux darwin iphonesim freebsd openbsd netbsd solaris),)
+ifneq ($(findstring $(OS_TARGET),linux darwin iphonesim freebsd openbsd netbsd solaris dragonfly),)
gtk1_all: x11_all opengl_all fpmkunit_all
gtk1_debug: x11_debug opengl_debug fpmkunit_debug
gtk1_smart: x11_smart opengl_smart fpmkunit_smart
@@ -370,7 +374,7 @@ libpng_smart: zlib_smart
libpng_debug: zlib_debug
libpng_release: zlib_release
-ifneq ($(findstring $(OS_TARGET),linux darwin iphonesim freebsd openbsd netbsd solaris),)
+ifneq ($(findstring $(OS_TARGET),linux darwin iphonesim freebsd openbsd netbsd solaris dragonfly),)
sdl_all: pthreads_all x11_all fpmkunit_all
sdl_shared: pthreads_shared x11_shared fpmkunit_shared
sdl_smart: pthreads_smart x11_smart fpmkunit_smart
@@ -458,7 +462,7 @@ librsvg_smart: gtk2_smart fpmkunit_smart
librsvg_debug: gtk2_debug fpmkunit_debug
librsvg_release: gtk2_release fpmkunit_release
-ifneq ($(findstring $(OS_TARGET),linux freebsd darwin iphonesim beos haiku),)
+ifneq ($(findstring $(OS_TARGET),linux freebsd darwin iphonesim beos haiku dragonfly),)
fcl-xml_all: iconvenc_all
fcl-xml_shared: iconvenc_shared
fcl-xml_smart: iconvenc_smart
diff --git a/packages/aspell/fpmake.pp b/packages/aspell/fpmake.pp
index 697256366a..fe7bcab4bb 100644
--- a/packages/aspell/fpmake.pp
+++ b/packages/aspell/fpmake.pp
@@ -23,7 +23,7 @@ begin
P.Author := 'header:Aleš Katona, library: Kevin Atkinson';
P.License := 'header: LGPL with modification, library: LGPL 2.0 or 2.1';
P.HomepageURL := 'www.freepascal.org';
- P.OSes := [beos,haiku,freebsd,darwin,iphonesim,netbsd,openbsd,linux,win32,aix];
+ P.OSes := [beos,haiku,freebsd,darwin,iphonesim,netbsd,openbsd,linux,win32,aix,dragonfly];
P.Email := '';
P.Description := 'The New Aspell, spelling library';
P.NeedLibC:= true;
diff --git a/packages/bfd/fpmake.pp b/packages/bfd/fpmake.pp
index 30a70151f5..ce073a2e75 100644
--- a/packages/bfd/fpmake.pp
+++ b/packages/bfd/fpmake.pp
@@ -23,7 +23,7 @@ begin
P.Email := '';
P.Description := 'Binary File Descriptor library.';
P.NeedLibC:= true;
- P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix];
+ P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix,dragonfly];
P.SourcePath.Add('src');
diff --git a/packages/cairo/fpmake.pp b/packages/cairo/fpmake.pp
index 34434091ee..d52ed379a1 100644
--- a/packages/cairo/fpmake.pp
+++ b/packages/cairo/fpmake.pp
@@ -19,7 +19,7 @@ begin
P.Author := 'Library: University of Southern California + Red Hat Inc., header: Luiz AmXrico Pereira CXmara';
P.License := 'Library: MPL 1.1 + LGPL-2.1, header: LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
- P.OSes := [beos,haiku,freebsd,solaris,netbsd,openbsd,linux,win32,win64,aix];
+ P.OSes := [beos,haiku,freebsd,solaris,netbsd,openbsd,linux,win32,win64,aix,dragonfly];
// Do not build cairo on iPhone (=arm-darwin)
if Defaults.CPU<>arm then
P.OSes := P.OSes + [darwin];
diff --git a/packages/dblib/fpmake.pp b/packages/dblib/fpmake.pp
index 35fcd1f912..0d93b05f95 100644
--- a/packages/dblib/fpmake.pp
+++ b/packages/dblib/fpmake.pp
@@ -9,7 +9,7 @@ uses fpmkunit;
procedure add_dblib(const ADirectory: string);
Const
- DBLibOSes = [linux,freebsd,netbsd,openbsd,solaris,win32,win64,haiku,android];
+ DBLibOSes = [linux,freebsd,netbsd,openbsd,solaris,win32,win64,haiku,android,dragonfly];
Var
P : TPackage;
diff --git a/packages/fcl-db/fpmake.pp b/packages/fcl-db/fpmake.pp
index 74a293c09f..e541b1bb90 100644
--- a/packages/fcl-db/fpmake.pp
+++ b/packages/fcl-db/fpmake.pp
@@ -8,12 +8,12 @@ uses fpmkunit;
procedure add_fcl_db(const ADirectory: string);
const
- ParadoxOSes = [beos,haiku,linux,freebsd,netbsd,openbsd,win32];
- DatadictOSes = [aix,beos,darwin,haiku,linux,freebsd,win32,win64,wince,android];
- SqldbConnectionOSes = [aix,beos,haiku,linux,freebsd,darwin,iphonesim,netbsd,openbsd,solaris,win32,win64,wince,android];
- SqliteOSes = [aix,beos,haiku,linux,freebsd,darwin,iphonesim,netbsd,openbsd,solaris,win32,win64,wince,android];
- DBaseOSes = [aix,beos,haiku,linux,freebsd,darwin,iphonesim,netbsd,openbsd,solaris,win32,win64,wince,android,os2];
- MSSQLOSes = [beos,haiku,linux,freebsd,netbsd,openbsd,solaris,win32,win64,android];
+ ParadoxOSes = [beos,haiku,linux,freebsd,netbsd,openbsd,win32,dragonfly];
+ DatadictOSes = [aix,beos,darwin,haiku,linux,freebsd,win32,win64,wince,android,dragonfly];
+ SqldbConnectionOSes = [aix,beos,haiku,linux,freebsd,darwin,iphonesim,netbsd,openbsd,solaris,win32,win64,wince,android,dragonfly];
+ SqliteOSes = [aix,beos,haiku,linux,freebsd,darwin,iphonesim,netbsd,openbsd,solaris,win32,win64,wince,android,dragonfly];
+ DBaseOSes = [aix,beos,haiku,linux,freebsd,darwin,iphonesim,netbsd,openbsd,solaris,win32,win64,wince,android,os2,dragonfly];
+ MSSQLOSes = [beos,haiku,linux,freebsd,netbsd,openbsd,solaris,win32,win64,android,dragonfly];
SqldbWithoutOracleOSes = [win64];
diff --git a/packages/fcl-db/src/sqldb/interbase/fpmake.inc b/packages/fcl-db/src/sqldb/interbase/fpmake.inc
index 4b0d627300..eb7180f23b 100644
--- a/packages/fcl-db/src/sqldb/interbase/fpmake.inc
+++ b/packages/fcl-db/src/sqldb/interbase/fpmake.inc
@@ -6,7 +6,7 @@
Targets.ResetDefaults;
Targets.DefaultDir:='db/sqldb/interbase';
{ Drivers only for the following OSes }
-Targets.DefaultOS:=[win32,openbsd,netbsd,freebsd,darwin,linux,haiku];
+Targets.DefaultOS:=[win32,openbsd,netbsd,freebsd,darwin,linux,haiku,dragonfly];
T:=Targets.AddUnit('ibconnection');
T.ResourceStrings:=True;
T:=Targets.AddUnit('fbadmin');
diff --git a/packages/fcl-db/src/sqldb/mssql/fpmake.inc b/packages/fcl-db/src/sqldb/mssql/fpmake.inc
index a3a16c6c2d..0703b35133 100644
--- a/packages/fcl-db/src/sqldb/mssql/fpmake.inc
+++ b/packages/fcl-db/src/sqldb/mssql/fpmake.inc
@@ -6,6 +6,6 @@
Targets.ResetDefaults;
Targets.DefaultDir:='db/sqldb/mssql';
{ Drivers only for the following OSes }
-Targets.DefaultOS:=[win32,win64,openbsd,netbsd,freebsd,linux,haiku];
+Targets.DefaultOS:=[win32,win64,openbsd,netbsd,freebsd,linux,haiku,dragonfly];
T:=Targets.AddUnit('mssqlconn');
T.ResourceStrings:=False;
diff --git a/packages/fcl-db/src/sqldb/mysql/fpmake.inc b/packages/fcl-db/src/sqldb/mysql/fpmake.inc
index 50fcd03c85..87491373c9 100644
--- a/packages/fcl-db/src/sqldb/mysql/fpmake.inc
+++ b/packages/fcl-db/src/sqldb/mysql/fpmake.inc
@@ -6,4 +6,4 @@
Targets.ResetDefaults;
Targets.DefaultDir:='db/sqldb/mysql';
{ Drivers only for the following OSes }
-Targets.DefaultOS:=[win32,openbsd,netbsd,freebsd,darwin,linux,haiku];
+Targets.DefaultOS:=[win32,openbsd,netbsd,freebsd,darwin,linux,haiku,dragonfly];
diff --git a/packages/fcl-db/src/sqldb/postgres/fpmake.inc b/packages/fcl-db/src/sqldb/postgres/fpmake.inc
index d9c7a0a135..92f4d2e876 100644
--- a/packages/fcl-db/src/sqldb/postgres/fpmake.inc
+++ b/packages/fcl-db/src/sqldb/postgres/fpmake.inc
@@ -6,7 +6,7 @@
Targets.ResetDefaults;
Targets.DefaultDir:='db/sqldb/postgres';
{ Drivers only for the following OSes }
-Targets.DefaultOS:=[win32,openbsd,netbsd,freebsd,darwin,linux,haiku];
+Targets.DefaultOS:=[win32,openbsd,netbsd,freebsd,darwin,linux,haiku,dragonfly];
T:=Targets.AddUnit('pqconnection');
T.ResourceStrings:=True;
T:=Targets.AddUnit('pqeventmonitor');
diff --git a/packages/fcl-image/fpmake.pp b/packages/fcl-image/fpmake.pp
index 152d3aeed3..4823a68e8c 100644
--- a/packages/fcl-image/fpmake.pp
+++ b/packages/fcl-image/fpmake.pp
@@ -223,14 +223,14 @@ begin
begin
AddUnit('fpimage');
end;
- T:=P.Targets.AddUnit('freetypeh.pp',[solaris,iphonesim,darwin,freebsd,openbsd,netbsd,linux,haiku,beos,win32,win64,aix]);
- T:=P.Targets.AddUnit('freetype.pp',[solaris,iphonesim,darwin,freebsd,openbsd,netbsd,linux,haiku,beos,win32,win64,aix]);
+ T:=P.Targets.AddUnit('freetypeh.pp',[solaris,iphonesim,darwin,freebsd,openbsd,netbsd,linux,haiku,beos,win32,win64,aix,dragonfly]);
+ T:=P.Targets.AddUnit('freetype.pp',[solaris,iphonesim,darwin,freebsd,openbsd,netbsd,linux,haiku,beos,win32,win64,aix,dragonfly]);
with T.Dependencies do
begin
AddUnit('freetypeh');
AddUnit('fpimgcmn');
end;
- T:=P.Targets.AddUnit('ftfont.pp',[solaris,iphonesim,darwin,freebsd,openbsd,netbsd,linux,haiku,beos,win32,win64,aix]);
+ T:=P.Targets.AddUnit('ftfont.pp',[solaris,iphonesim,darwin,freebsd,openbsd,netbsd,linux,haiku,beos,win32,win64,aix,dragonfly]);
with T.Dependencies do
begin
AddUnit('fpcanvas');
diff --git a/packages/fcl-net/fpmake.pp b/packages/fcl-net/fpmake.pp
index eda9f570c2..698cf089f4 100644
--- a/packages/fcl-net/fpmake.pp
+++ b/packages/fcl-net/fpmake.pp
@@ -22,7 +22,7 @@ begin
P.Dependencies.Add('openssl',AllOSes - [amiga,aros]);
P.Dependencies.Add('fcl-xml');
P.Dependencies.Add('fcl-passrc');
- P.Dependencies.Add('fcl-async',[linux,freebsd,netbsd,openbsd]);
+ P.Dependencies.Add('fcl-async',[linux,freebsd,netbsd,openbsd,dragonfly]);
P.Dependencies.Add('rtl-extra');
P.Author := 'Sebastian Guenther and Free Pascal development team';
@@ -62,7 +62,7 @@ begin
T.ResourceStrings := True;
// HTTP Client
- T:=P.Targets.AddUnit('fpsock.pp',[linux,freebsd,netbsd,openbsd]);
+ T:=P.Targets.AddUnit('fpsock.pp',[linux,freebsd,netbsd,openbsd,dragonfly]);
with T.Dependencies do
begin
AddUnit('resolve');
diff --git a/packages/fcl-net/src/cnetdb.pp b/packages/fcl-net/src/cnetdb.pp
index 6668e83ae1..5637e6af2a 100644
--- a/packages/fcl-net/src/cnetdb.pp
+++ b/packages/fcl-net/src/cnetdb.pp
@@ -194,7 +194,7 @@ type
{$if defined(LINUX) or defined(OPENBSD)}
{$define FIRST_ADDR_THEN_CANONNAME}
{$endif}
-{$if defined(FREEBSD) or defined(NETBSD)}
+{$if defined(FREEBSD) or defined(NETBSD) or defined(DRAGONFLY)}
{$define FIRST_CANONNAME_THEN_ADDR}
{$endif}
{$if not defined(FIRST_CANONNAME_THEN_ADDR) and not defined(FIRST_ADDR_THEN_CANONNAME)}
diff --git a/packages/fcl-web/fpmake.pp b/packages/fcl-web/fpmake.pp
index bb122cc725..5fa52cad3f 100644
--- a/packages/fcl-web/fpmake.pp
+++ b/packages/fcl-web/fpmake.pp
@@ -18,7 +18,7 @@ begin
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='2.7.1';
- P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,win32,win64,wince,aix,amiga,aros];
+ P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,win32,win64,wince,aix,amiga,aros,dragonfly];
P.Dependencies.Add('fcl-base');
P.Dependencies.Add('fcl-db');
P.Dependencies.Add('fcl-xml');
diff --git a/packages/fpgtk/fpmake.pp b/packages/fpgtk/fpmake.pp
index 71ec192d5d..520de0f33d 100644
--- a/packages/fpgtk/fpmake.pp
+++ b/packages/fpgtk/fpmake.pp
@@ -18,7 +18,7 @@ begin
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='2.7.1';
- P.OSes := [beos,haiku,freebsd,solaris,netbsd,openbsd,linux,win32,win64,os2,emx,aix];
+ P.OSes := [beos,haiku,freebsd,solaris,netbsd,openbsd,linux,win32,win64,os2,emx,aix,dragonfly];
// Do not build fpgtk on iPhone (=arm-darwin)
if Defaults.CPU<>arm then
P.OSes := P.OSes + [darwin];
diff --git a/packages/fpindexer/fpmake.pp b/packages/fpindexer/fpmake.pp
index 19da7eb903..03c3b428c6 100644
--- a/packages/fpindexer/fpmake.pp
+++ b/packages/fpindexer/fpmake.pp
@@ -7,8 +7,8 @@ uses fpmkunit;
procedure add_fpindexer(const ADirectory: string);
Const
- SqldbConnectionOSes = [beos,haiku,linux,freebsd,win32,win64,wince,darwin,iphonesim,netbsd,openbsd,aix];
- SqliteOSes = [beos,haiku,linux,freebsd,darwin,iphonesim,netbsd,openbsd,win32,wince,aix];
+ SqldbConnectionOSes = [beos,haiku,linux,freebsd,win32,win64,wince,darwin,iphonesim,netbsd,openbsd,aix,dragonfly];
+ SqliteOSes = [beos,haiku,linux,freebsd,darwin,iphonesim,netbsd,openbsd,win32,wince,aix,dragonfly];
Var
T : TTarget;
@@ -19,7 +19,7 @@ begin
P:=AddPackage('fpindexer');
P.Directory:=ADirectory;
P.Version:='2.7.1';
- P.OSes := [beos,haiku,freebsd,darwin,solaris,netbsd,openbsd,linux,win32,win64,wince,aix];
+ P.OSes := [beos,haiku,freebsd,darwin,solaris,netbsd,openbsd,linux,win32,win64,wince,aix,dragonfly];
P.Dependencies.Add('fcl-base');
P.Dependencies.Add('fcl-db');
P.Dependencies.Add('chm'); // for fastreaderhtml
diff --git a/packages/fpmkunit/src/fpmkunit.pp b/packages/fpmkunit/src/fpmkunit.pp
index f58ca63188..93d58690eb 100644
--- a/packages/fpmkunit/src/fpmkunit.pp
+++ b/packages/fpmkunit/src/fpmkunit.pp
@@ -112,7 +112,7 @@ Type
amiga,atari, solaris, qnx, netware, openbsd,wdosx,
palmos,macos,darwin,emx,watcom,morphos,netwlibc,
win64,wince,gba,nds,embedded,symbian,haiku,iphonesim,
- aix,java,android,nativent,msdos,wii,aros
+ aix,java,android,nativent,msdos,wii,aros,dragonfly
);
TOSes = Set of TOS;
@@ -163,8 +163,8 @@ Const
AllOSes = [Low(TOS)..High(TOS)];
AllCPUs = [Low(TCPU)..High(TCPU)];
- AllUnixOSes = [Linux,FreeBSD,NetBSD,OpenBSD,Darwin,QNX,BeOS,Solaris,Haiku,iphonesim,aix,Android];
- AllBSDOSes = [FreeBSD,NetBSD,OpenBSD,Darwin,iphonesim];
+ AllUnixOSes = [Linux,FreeBSD,NetBSD,OpenBSD,Darwin,QNX,BeOS,Solaris,Haiku,iphonesim,aix,Android,dragonfly];
+ AllBSDOSes = [FreeBSD,NetBSD,OpenBSD,Darwin,iphonesim,dragonfly];
AllWindowsOSes = [Win32,Win64,WinCE];
AllAmigaLikeOSes = [Amiga,MorphOS,AROS];
AllLimit83fsOses = [go32v2,os2,emx,watcom,msdos];
@@ -212,6 +212,7 @@ Const
{ msdos } ( false, false, false, false, false, false, false, false, false, false, false, false, false, true ),
{ wii } ( false, false, false, true , false, false, false, false, false, false, false, false, false, false ),
{ aros } ( true, false, false, false, false, false, false, false, false, false, false, false, false, false )
+ { dragonfly}( false, false, false, false, false, true, false, false, false, false, false, false, false, false )
);
// Useful
@@ -2532,7 +2533,7 @@ function GetDefaultLibGCCDir(CPU : TCPU;OS: TOS; var ErrorMessage: string): stri
begin
result := '';
ErrorMessage:='';
- if OS in [freebsd, openbsd] then
+ if OS in [freebsd, openbsd, dragonfly] then
result := '/usr/local/lib'
else if OS = netbsd then
result := '/usr/pkg/lib'
@@ -3797,7 +3798,7 @@ function TCustomDefaults.GetDocInstallDir: String;
begin
If (FDocInstallDir<>'') then
Result:=FDocInstallDir
- else if Defaults.BuildOS=freebsd then
+ else if Defaults.BuildOS=freebsd or Defaults.BuildOS=dragonfly then
result := Prefix+PathDelim+'share'+PathDelim+'doc'+PathDelim+'$(PackageName)'
else If UnixPaths then
Result:=Prefix+'share'+PathDelim+'doc'+PathDelim+'fpc-$(PackageName)-$(PACKAGEVERSION)'
@@ -3810,7 +3811,7 @@ function TCustomDefaults.GetExamplesInstallDir: String;
begin
If (FExamplesInstallDir<>'') then
Result:=FExamplesInstallDir
- else if Defaults.BuildOS=freebsd then
+ else if Defaults.BuildOS=freebsd or Defaults.BuildOS=dragonfly then
result := Prefix+PathDelim+'share'+PathDelim+'examples'+PathDelim+'$(PackageName)'
else If UnixPaths then
Result:=Prefix+'share'+PathDelim+'doc'+PathDelim+'fpc-$(PackageName)-$(PACKAGEVERSION)'+PathDelim+'examples'
diff --git a/packages/fppkg/fpmake.pp b/packages/fppkg/fpmake.pp
index 4e2c60881f..e47f43d2b8 100644
--- a/packages/fppkg/fpmake.pp
+++ b/packages/fppkg/fpmake.pp
@@ -8,7 +8,7 @@ uses fpmkunit, sysutils;
procedure add_fppkg(const ADirectory: string);
const
- TargetsWithWGet = [linux,beos,haiku,freebsd,netbsd,openbsd,darwin,iphonesim,solaris,win32,win64,wince,aix];
+ TargetsWithWGet = [linux,beos,haiku,freebsd,netbsd,openbsd,darwin,iphonesim,solaris,win32,win64,wince,aix,dragonfly];
TargetsWithfpWeb = TargetsWithWGet;
Var
diff --git a/packages/fv/fpmake.pp b/packages/fv/fpmake.pp
index da56c351df..08bc4a9b87 100644
--- a/packages/fv/fpmake.pp
+++ b/packages/fv/fpmake.pp
@@ -20,7 +20,7 @@ begin
P.Author := 'Leon De Boer and Pierre Mueller';
P.License := 'LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
- P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,win32,win64,os2,emx,netware,netwlibc,go32v2,aix]+AllAmigaLikeOSes;
+ P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,win32,win64,os2,emx,netware,netwlibc,go32v2,aix,dragonfly]+AllAmigaLikeOSes;
P.Email := '';
P.Description := 'Free Vision, a portable Turbo Vision clone.';
P.NeedLibC:= false;
diff --git a/packages/gdbint/fpmake.pp b/packages/gdbint/fpmake.pp
index d77c57884b..f027f1cf11 100644
--- a/packages/gdbint/fpmake.pp
+++ b/packages/gdbint/fpmake.pp
@@ -167,7 +167,7 @@ begin
// file within the BeforeCompile event.
P.SupportBuildModes:= [bmOneByOne];
- P.OSes:=[aix,beos,haiku,freebsd,netbsd,openbsd,linux,win32,win64,go32v2];
+ P.OSes:=[aix,beos,haiku,freebsd,netbsd,openbsd,linux,win32,win64,go32v2,dragonfly];
P.SourcePath.Add('src');
P.IncludePath.Add('src');
diff --git a/packages/gdbint/src/gdbint.pp b/packages/gdbint/src/gdbint.pp
index 435602fda6..396d23dc89 100644
--- a/packages/gdbint/src/gdbint.pp
+++ b/packages/gdbint/src/gdbint.pp
@@ -391,6 +391,41 @@ interface
{$LINKLIB gcc}
{$endif linux}
+{$ifdef dragonfly}
+{$ifdef NotImplemented}
+ {$linklib kvm}
+ {$undef NotImplemented}
+ {$LINKLIB libgdb.a}
+ {$ifdef GDB_HAS_SIM}
+ {$LINKLIB libsim.a}
+ {$endif GDB_HAS_SIM}
+ {$LINKLIB libbfd.a}
+ {$LINKLIB libreadline.a}
+ {$LINKLIB libopcodes.a}
+ {$LINKLIB libhistory.a}
+ {$LINKLIB libiberty.a}
+ {$LINKLIB libgnu.a}
+ {$LINKLIB ncurses}
+ {$LINKLIB z}
+ {$LINKLIB m}
+ {$LINKLIB iberty}
+ {$ifndef GDB_DISABLE_INTL}
+ {$LINKLIB intl}
+ {$endif ndef GDB_DISABLE_INTL}
+ {$ifdef GDB_USES_LIBDECNUMBER}
+ {$LINKLIB decnumber}
+ {$endif GDB_USES_LIBDECNUMBER}
+ {$ifdef GDB_USES_EXPAT_LIB}
+ {$LINKLIB expat}
+ {$endif GDB_USES_EXPAT_LIB}
+ {$ifdef GDB_USES_LIBPYTHON}
+ {$LINKLIB python}
+ {$endif GDB_USES_LIBPYTHON}
+{$endif NotImplemented}
+ {$LINKLIB c}
+ {$LINKLIB gcc}
+{$endif freebsd}
+
{$ifdef freebsd}
{$ifdef NotImplemented}
{$ifdef FreeBSD5} //5.4+ ?
diff --git a/packages/ggi/fpmake.pp b/packages/ggi/fpmake.pp
index 736a68592b..8d3a03122a 100644
--- a/packages/ggi/fpmake.pp
+++ b/packages/ggi/fpmake.pp
@@ -23,7 +23,7 @@ begin
P.Email := '';
P.Description := 'a project that aims to develop a reliable, stable and fast graphics system that works everywhere.';
P.NeedLibC:= true; // true for headers that indirectly link to libc?
- P.OSes := [beos,haiku,freebsd,solaris,netbsd,openbsd,linux];
+ P.OSes := [beos,haiku,freebsd,solaris,netbsd,openbsd,linux,dragonfly];
// note that this package may be severely outdated. Header copyright
// lists 1999, and ggi itself is still developed, and major releases
diff --git a/packages/libcurl/fpmake.pp b/packages/libcurl/fpmake.pp
index fac9026bcc..b67cbe86cc 100644
--- a/packages/libcurl/fpmake.pp
+++ b/packages/libcurl/fpmake.pp
@@ -21,7 +21,7 @@ begin
P.Author := 'Library: Daniel Stenberg, header: Free Pascal development team';
P.License := 'Library: MIT, header: LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
- P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix];
+ P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix,dragonfly];
P.Email := '';
P.Description := 'Library to fetch files from URLs using many protocols.';
P.NeedLibC:= true; // true for headers that indirectly link to libc?
diff --git a/packages/librsvg/fpmake.pp b/packages/librsvg/fpmake.pp
index 27e80ee7d6..98ae67b159 100644
--- a/packages/librsvg/fpmake.pp
+++ b/packages/librsvg/fpmake.pp
@@ -16,7 +16,7 @@ begin
{$ifdef ALLPACKAGES}
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
- P.OSes := [beos,haiku,freebsd,netbsd,openbsd,linux,win32,aix];
+ P.OSes := [beos,haiku,freebsd,netbsd,openbsd,linux,win32,aix,dragonfly];
// Do not build x11 on iPhone (=arm-darwin)
if Defaults.CPU<>arm then
P.OSes := P.OSes + [darwin];
diff --git a/packages/ncurses/fpmake.pp b/packages/ncurses/fpmake.pp
index a981861926..6d3cfefbc5 100644
--- a/packages/ncurses/fpmake.pp
+++ b/packages/ncurses/fpmake.pp
@@ -17,7 +17,7 @@ begin
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='2.7.1';
- P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix];
+ P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix,dragonfly];
P.SourcePath.Add('src');
P.IncludePath.Add('src');
diff --git a/packages/pthreads/fpmake.pp b/packages/pthreads/fpmake.pp
index d1112b73c9..c5e7f8061a 100644
--- a/packages/pthreads/fpmake.pp
+++ b/packages/pthreads/fpmake.pp
@@ -17,7 +17,7 @@ begin
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='2.7.1';
- P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix];
+ P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix,dragonfly];
P.SourcePath.Add('src');
P.IncludePath.Add('src');
diff --git a/packages/pxlib/fpmake.pp b/packages/pxlib/fpmake.pp
index b92bbaf657..fc0ee2cfd0 100644
--- a/packages/pxlib/fpmake.pp
+++ b/packages/pxlib/fpmake.pp
@@ -15,7 +15,7 @@ begin
{$ifdef ALLPACKAGES}
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
- P.OSes:=[Linux,beos,haiku,win32,freebsd,openbsd,netbsd];
+ P.OSes:=[Linux,beos,haiku,win32,freebsd,openbsd,netbsd,dragonfly];
P.Version:='2.7.1';
T:=P.Targets.AddUnit('src/pxlib.pp');
T:=P.Targets.AddExampleunit('examples/ppxview.pp');
diff --git a/packages/rtl-extra/fpmake.pp b/packages/rtl-extra/fpmake.pp
index 987ab392c7..c1897f2931 100644
--- a/packages/rtl-extra/fpmake.pp
+++ b/packages/rtl-extra/fpmake.pp
@@ -14,10 +14,10 @@ Const
// Android has a dummy clocale unit, while it also includes unix dir.
ClocaleOSes = UnixLikes -[beos];
- CLocaleIncOSes= [Aix,freebsd,netbsd,openbsd,solaris,darwin,iphonesim];
+ CLocaleIncOSes= [Aix,freebsd,netbsd,openbsd,solaris,darwin,iphonesim,dragonfly];
IPCOSes = UnixLikes-[aix,android,beos,haiku,solaris];
- IPCBSDs = [FreeBSD,NetBSD,OpenBSD];
+ IPCBSDs = [FreeBSD,NetBSD,OpenBSD,DragonFly];
// IPCcdeclOSes = [Darwin,iphonesim];
PrinterOSes = [go32v2,msdos,os2,win32,win64]+unixlikes-[beos,haiku,morphos];
@@ -29,7 +29,7 @@ Const
WinSock2OSes = [win32,win64,wince];
// sockets of morphos is implemented, but not active
SocketsOSes = UnixLikes+[amiga,aros,netware,netwlibc,os2,wince,win32,win64];
- Socksyscall = [beos,freebsd,haiku,linux,netbsd,openbsd];
+ Socksyscall = [beos,freebsd,haiku,linux,netbsd,openbsd,dragonfly];
Socklibc = unixlikes-socksyscall;
gpmOSes = [Linux,Android];
AllTargetsextra = ObjectsOSes + UComplexOSes + MatrixOSes+
diff --git a/packages/rtl-unicode/fpmake.pp b/packages/rtl-unicode/fpmake.pp
index d45be3060a..5d5f1bb6f7 100644
--- a/packages/rtl-unicode/fpmake.pp
+++ b/packages/rtl-unicode/fpmake.pp
@@ -12,13 +12,13 @@ Const
// in workable state atm.
UnixLikes = AllUnixOSes -[QNX];
- CollationOSes = [aix,darwin,freebsd,linux,netbsd,openbsd,solaris,win32,win64];
- CPUnits = [aix,amiga,aros,android,beos,darwin,iphonesim,emx,gba,freebsd,go32v2,haiku,linux,morphos,netbsd,netware,netwlibc,openbsd,os2,solaris,watcom,wii,win32,win64,wince];
+ CollationOSes = [aix,darwin,freebsd,linux,netbsd,openbsd,solaris,win32,win64,dragonfly];
+ CPUnits = [aix,amiga,aros,android,beos,darwin,iphonesim,emx,gba,freebsd,go32v2,haiku,linux,morphos,netbsd,netware,netwlibc,openbsd,os2,solaris,watcom,wii,win32,win64,wince,dragonfly];
utf8bidiOSes = [netware,netwlibc];
freebidiOSes = [netware,netwlibc];
// Character not movable because fpwidestring depends on it.
-// CharacterOSes = [android,darwin,freebsd,linux,netbsd,openbsd,solaris,win32,win64];
+// CharacterOSes = [android,darwin,freebsd,linux,netbsd,openbsd,solaris,win32,win64,dragonfly];
UnicodeAllOSes = CollationOSes + utf8bidiOSes + freebidiOSes + CPUnits;
diff --git a/packages/svgalib/fpmake.pp b/packages/svgalib/fpmake.pp
index abe034be55..5370c2af4f 100644
--- a/packages/svgalib/fpmake.pp
+++ b/packages/svgalib/fpmake.pp
@@ -17,7 +17,7 @@ begin
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='2.7.1';
- P.OSes := [beos,haiku,linux,freebsd,solaris,netbsd,openbsd];
+ P.OSes := [beos,haiku,linux,freebsd,solaris,netbsd,openbsd,dragonfly];
P.SourcePath.Add('src');
T:=P.Targets.AddUnit('svgalib.pp');
diff --git a/packages/syslog/fpmake.pp b/packages/syslog/fpmake.pp
index 7082ed9f00..193d8c6c62 100644
--- a/packages/syslog/fpmake.pp
+++ b/packages/syslog/fpmake.pp
@@ -17,7 +17,7 @@ begin
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='2.7.1';
- P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix];
+ P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,aix,dragonfly];
P.SourcePath.Add('src');
T:=P.Targets.AddUnit('systemlog.pp');
diff --git a/packages/utmp/fpmake.pp b/packages/utmp/fpmake.pp
index f55a3a5a74..2b0917337b 100644
--- a/packages/utmp/fpmake.pp
+++ b/packages/utmp/fpmake.pp
@@ -18,7 +18,7 @@ begin
{$endif ALLPACKAGES}
P.Version:='2.7.1';
P.SourcePath.Add('src');
- P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux];
+ P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,dragonfly];
T:=P.Targets.AddUnit('utmp.pp');
diff --git a/packages/x11/fpmake.pp b/packages/x11/fpmake.pp
index 7226d27876..488fc093ee 100644
--- a/packages/x11/fpmake.pp
+++ b/packages/x11/fpmake.pp
@@ -17,7 +17,7 @@ begin
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='2.7.1';
- P.OSes:=[beos,haiku,freebsd,solaris,netbsd,openbsd,linux,os2,emx,aix];
+ P.OSes:=[beos,haiku,freebsd,solaris,netbsd,openbsd,linux,os2,emx,aix,dragonfly];
// Do not build x11 on iPhone (=arm-darwin)
if Defaults.CPU<>arm then
P.OSes := P.OSes + [darwin];
diff --git a/packages/xforms/fpmake.pp b/packages/xforms/fpmake.pp
index de22e61be9..9a1e46bbf3 100644
--- a/packages/xforms/fpmake.pp
+++ b/packages/xforms/fpmake.pp
@@ -18,7 +18,7 @@ begin
{$endif ALLPACKAGES}
P.Version:='2.7.1';
P.SourcePath.Add('src');
- P.OSes := [beos,haiku,freebsd,solaris,netbsd,openbsd,linux,aix];
+ P.OSes := [beos,haiku,freebsd,solaris,netbsd,openbsd,linux,aix,dragonfly];
// Do not build x11 on iPhone (=arm-darwin)
if Defaults.CPU<>arm then
P.OSes := P.OSes + [darwin];