소스 검색

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

git-svn-id: trunk@20040 -
joost 13 년 전
부모
커밋
4788645aae

+ 1 - 0
packages/iconvenc/fpmake.pp

@@ -19,6 +19,7 @@ begin
     P.Version:='2.7.1';
     P.Author := 'Marco van de Voort';
     P.License := 'Library: LGPL2 or later, header: LGPL with modification, ';
+    P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,linux];
     P.HomepageURL := 'www.freepascal.org';
     P.Email := '';
     P.Description := 'A libiconv header translation.';

+ 1 - 0
packages/libcurl/fpmake.pp

@@ -21,6 +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];
     P.Email := '';
     P.Description := 'Library to fetch files from URLs using many protocols.';
     P.NeedLibC:= true;  // true for headers that indirectly link to libc?

+ 1 - 0
packages/ncurses/fpmake.pp

@@ -17,6 +17,7 @@ begin
     P.Directory:='ncurses';
 {$endif ALLPACKAGES}
     P.Version:='2.7.1';
+    P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux];
     P.SourcePath.Add('src');
     P.IncludePath.Add('src');
 

+ 1 - 0
packages/pthreads/fpmake.pp

@@ -17,6 +17,7 @@ begin
     P.Directory:='pthreads';
 {$endif ALLPACKAGES}
     P.Version:='2.7.1';
+    P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux];
     P.SourcePath.Add('src');
     P.IncludePath.Add('src');
 

+ 1 - 0
packages/users/fpmake.pp

@@ -20,6 +20,7 @@ begin
     P.Author := 'Michael van Canneyt, Marco van de Voort';
     P.License := 'LGPL with modification, ';
     P.HomepageURL := 'www.freepascal.org';
+    P.OSes := [freebsd,linux];
     P.Email := '';
     P.Description := 'Headers to access Unix groups and users.';
     P.NeedLibC:= false;

+ 1 - 0
packages/utmp/fpmake.pp

@@ -18,6 +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];
 
     T:=P.Targets.AddUnit('utmp.pp');
 

+ 1 - 0
packages/uuid/fpmake.pp

@@ -18,6 +18,7 @@ begin
 {$endif ALLPACKAGES}
     P.Version:='2.7.1';
     P.SourcePath.Add('src');
+    P.OSes := [linux];
 
     T:=P.Targets.AddUnit('libuuid.pp');
     T:=P.Targets.AddUnit('macuuid.pp');

+ 4 - 0
packages/x11/fpmake.pp

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

+ 5 - 0
packages/xforms/fpmake.pp

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