tng 2002/12/02 12:06:25
Modified: c/scripts packageBinaries.pl
Log:
[Bug 12490] Patches required to build Xerces-C++ on BeOS R5. Patch from Andrew
Bachmann.
Revision Changes Path
1.111 +10 -1 xml-xerces/c/scripts/packageBinaries.pl
Index: packageBinaries.pl
===================================================================
RCS file: /home/cvs/xml-xerces/c/scripts/packageBinaries.pl,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- packageBinaries.pl 22 Nov 2002 19:11:01 -0000 1.110
+++ packageBinaries.pl 2 Dec 2002 20:06:25 -0000 1.111
@@ -243,6 +243,7 @@
util\\Platforms
util\\Platforms\\AIX
util\\Platforms\\HPUX
+ util\\Platforms\\BeOS
util\\Platforms\\Linux
util\\Platforms\\MacOS
util\\Platforms\\OS2
@@ -636,6 +637,7 @@
util/Platforms
util/Platforms/AIX
util/Platforms/HPUX
+ util/Platforms/BeOS
util/Platforms/Linux
util/Platforms/MacOS
util/Platforms/OS2
@@ -794,7 +796,7 @@
#
# UNIX builds happen here ...
#
-if ( ($platform =~ m/AIX/i) || ($platform =~ m/HP-UX/i) ||
+if ( ($platform =~ m/AIX/i) || ($platform =~ m/HP-UX/i) || ($platform =~
m/BeOS/i) ||
($platform =~ m/SunOS/i) || ($platform =~ m/Linux/i) || ($platform =~ m/ptx/i)
) {
# Echo the current PATH to see what compiler it picks up
@@ -858,6 +860,13 @@
psystem ("echo SHLIB_PATH=$ENV{'SHLIB_PATH'}");
}
+ if ($platform =~ m/BeOS/i) {
+ $platform = "beos";
+ if ($opt_c eq "") {$opt_c = "gcc";}
+ if ($opt_x eq "") {$opt_x = "g++";}
+ $icuCompileFlags = 'CC=gcc CXX=g++ CXXFLAGS="-w -O" CFLAGS="-w -O"';
+ psystem ("echo LIBRARY_PATH=$ENV{'LIBRARY_PATH'}");
+ }
if ($platform =~ m/Linux/i) {
$platform = "linux";
if ($opt_c eq "") {$opt_c = "gcc";}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]