Pārlūkot izejas kodu

* Set for which os'es the packages have to be compiled for those packages that do not compile on WinCE

git-svn-id: trunk@20057 -
joost 13 gadi atpakaļ
vecāks
revīzija
6c6708632e

+ 1 - 0
packages/aspell/fpmake.pp

@@ -21,6 +21,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];
     P.Email := '';
     P.Description := 'The New Aspell, spelling library';
     P.NeedLibC:= true;

+ 5 - 0
packages/cairo/fpmake.pp

@@ -19,6 +19,11 @@ 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];
+    // Do not build cairo on iPhone (=arm-darwin)
+    if Defaults.CPU<>arm then
+      P.OSes := P.OSes + [darwin];
+
     P.Email := '';
     P.Description := 'a vector graphics library with display and print output';
     P.NeedLibC:= true;

+ 1 - 1
packages/fcl-extra/fpmake.pp

@@ -18,7 +18,7 @@ begin
 {$endif ALLPACKAGES}
     P.Version:='2.7.1';
     P.Dependencies.Add('fcl-base');
-    P.OSes:=AllWindowsOSes+AllUnixOSes;
+    P.OSes:=[Win32,Win64]+AllUnixOSes;
     P.Dependencies.Add('winunits-jedi',[Win32,Win64]);
     P.Dependencies.Add('winunits-base',[Win32,Win64]);
     P.Dependencies.Add('univint',[darwin,iPhoneSim]);

+ 4 - 0
packages/fpgtk/fpmake.pp

@@ -17,6 +17,10 @@ begin
     P.Directory:='fpgtk';
 {$endif ALLPACKAGES}
     P.Version:='2.7.1';
+    P.OSes := [beos,haiku,freebsd,solaris,netbsd,openbsd,linux,win32,win64,os2,emx];
+    // Do not build fpgtk on iPhone (=arm-darwin)
+    if Defaults.CPU<>arm then
+      P.OSes := P.OSes + [darwin];
     P.Author := 'Luk Vandelaer & Sebastian Guenther (?)';
     P.License := 'LGPL with modification, ';
     P.HomepageURL := 'www.freepascal.org';

+ 1 - 0
packages/fv/fpmake.pp

@@ -20,6 +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,morphos];
     P.Email := '';
     P.Description := 'Free Vision, a portable Turbo Vision clone.';
     P.NeedLibC:= false;

+ 4 - 0
packages/librsvg/fpmake.pp

@@ -16,6 +16,10 @@ begin
 {$ifdef ALLPACKAGES}
     P.Directory:='librsvg';
 {$endif ALLPACKAGES}
+    P.OSes := [beos,haiku,freebsd,netbsd,openbsd,linux,win32];
+    // Do not build x11 on iPhone (=arm-darwin)
+    if Defaults.CPU<>arm then
+      P.OSes := P.OSes + [darwin];
     P.Version:='2.7.1';
     P.SourcePath.Add('src');
     P.IncludePath.Add('src');