2
0
Эх сурвалжийг харах

* packages part of Olivier Coursiere's BeOS patch

git-svn-id: trunk@8398 -
florian 18 жил өмнө
parent
commit
bd2b81da73

+ 1 - 1
packages/Makefile

@@ -1,5 +1,5 @@
 #
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2007/08/22]
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2007/07/29]
 #
 default: all
 MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded

+ 3 - 3
packages/base/netdb/Makefile

@@ -1,5 +1,5 @@
 #
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2007/08/22]
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2007/07/29]
 #
 default: all
 MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded
@@ -248,7 +248,7 @@ ifeq ($(FULL_TARGET),i386-freebsd)
 override TARGET_UNITS+=uriparser  netdb
 endif
 ifeq ($(FULL_TARGET),i386-beos)
-override TARGET_UNITS+=uriparser  netdb
+override TARGET_UNITS+=uriparser  netdb netdb
 endif
 ifeq ($(FULL_TARGET),i386-netbsd)
 override TARGET_UNITS+=uriparser  netdb
@@ -404,7 +404,7 @@ ifeq ($(FULL_TARGET),i386-freebsd)
 override TARGET_EXAMPLES+=testuri  testdns testhst testsvc testnet testhosts
 endif
 ifeq ($(FULL_TARGET),i386-beos)
-override TARGET_EXAMPLES+=testuri  testdns testhst testsvc testnet testhosts
+override TARGET_EXAMPLES+=testuri  testdns testhst testsvc testnet testhosts testdns testhst testsvc testnet testhosts
 endif
 ifeq ($(FULL_TARGET),i386-netbsd)
 override TARGET_EXAMPLES+=testuri  testdns testhst testsvc testnet testhosts

+ 4 - 0
packages/base/netdb/Makefile.fpc

@@ -9,6 +9,7 @@ version=2.0.0
 [target]
 units=uriparser
 units_linux=netdb
+units_beos=netdb
 units_freebsd=netdb
 units_openbsd=netdb
 units_netbsd=netdb
@@ -16,6 +17,7 @@ units_darwin=netdb
 units_solaris=netdb
 units_beos=netdb
 examples_linux=testdns testhst testsvc testnet testhosts
+examples_beos=testdns testhst testsvc testnet testhosts
 examples_freebsd=testdns testhst testsvc testnet testhosts
 examples_openbsd=testdns testhst testsvc testnet testhosts
 examples_netbsd=testdns testhst testsvc testnet testhosts
@@ -35,3 +37,5 @@ fpcdir=../../..
 [rules]
 .NOTPARALLEL:
 
+
+

+ 1 - 1
packages/base/pthreads/fpmake.inc

@@ -4,6 +4,6 @@
     {$ELSEIF defined(BASEPACKAGES)}
     Directory:='pthreads';
     {$ENDIF}
-    OS:=[linux,freebsd,darwin];
+    OS:=[linux,freebsd,darwin,beos],;
     T:=Targets.AddUnit('pthreads');
     EndPackage;

+ 6 - 1
packages/base/pthreads/pthreads.pp

@@ -33,7 +33,12 @@ uses initc,BaseUnix, unixtype;
   uses initc,unixtype;
   {$i pthrsnos.inc}
   {$else}
-  {$error operating system not detected}
+   {$ifdef beos}
+   uses initc, baseunix, unixtype;
+   {$i pthrbeos.inc}
+   {$else}
+    {$error operating system not detected}
+   {$endif}
   {$endif}
  {$endif}
 {$endif}