[xml/sgml-commit] r493 - in packages/xerces/xerces27/trunk/debian: . patches

Jay Berkenbilt qjb at costa.debian.org
Sat Nov 5 20:02:23 UTC 2005


Author: qjb
Date: 2005-11-05 20:02:22 +0000 (Sat, 05 Nov 2005)
New Revision: 493

Added:
   packages/xerces/xerces27/trunk/debian/patches/01-kfreebsd.patch
   packages/xerces/xerces27/trunk/debian/patches/11-kfreebsd-reconf.patch
Modified:
   packages/xerces/xerces27/trunk/debian/changelog
   packages/xerces/xerces27/trunk/debian/rules
Log:
GNU/kFreeBSD support

Modified: packages/xerces/xerces27/trunk/debian/changelog
===================================================================
--- packages/xerces/xerces27/trunk/debian/changelog	2005-11-05 16:57:01 UTC (rev 492)
+++ packages/xerces/xerces27/trunk/debian/changelog	2005-11-05 20:02:22 UTC (rev 493)
@@ -1,5 +1,5 @@
-xerces27 (2.7.0-0) unstable; urgency=low
+xerces27 (2.7.0-1) unstable; urgency=low
 
   * Initial release.
 
- -- Jay Berkenbilt <qjb at debian.org>  Sat,  5 Nov 2005 11:19:26 -0500
+ -- Jay Berkenbilt <qjb at debian.org>  Sat,  5 Nov 2005 15:01:40 -0500

Added: packages/xerces/xerces27/trunk/debian/patches/01-kfreebsd.patch
===================================================================
--- packages/xerces/xerces27/trunk/debian/patches/01-kfreebsd.patch	2005-11-05 16:57:01 UTC (rev 492)
+++ packages/xerces/xerces27/trunk/debian/patches/01-kfreebsd.patch	2005-11-05 20:02:22 UTC (rev 493)
@@ -0,0 +1,58 @@
+diff -ur ../xerces-c-src_2_7_0/samples/configure.in xerces-c-src_2_7_0/samples/configure.in
+--- ../xerces-c-src_2_7_0/samples/configure.in	2005-09-07 17:56:50.000000000 +0200
++++ xerces-c-src_2_7_0/samples/configure.in	2005-11-05 17:54:56.000000000 +0100
+@@ -38,6 +38,7 @@
+         *-*-sysv5uw7*)  platform=UNIXWARE ;;
+         *-*-beos*)      platform=BEOS ;;
+         *-*-linux*)     platform=LINUX ;;
++        *-*-k*bsd*)     platform=LINUX ;;
+         *-*-nto*)       platform=QNX ;;
+         *-*-freebsd*)   platform=FREEBSD ;;
+         *-*-netbsd*)    platform=NETBSD ;;
+diff -ur ../xerces-c-src_2_7_0/src/xercesc/configure.in xerces-c-src_2_7_0/src/xercesc/configure.in
+--- ../xerces-c-src_2_7_0/src/xercesc/configure.in	2005-09-07 17:55:53.000000000 +0200
++++ xerces-c-src_2_7_0/src/xercesc/configure.in	2005-11-05 17:54:56.000000000 +0100
+@@ -35,6 +35,7 @@
+         *-*-beos*)      platform=BEOS ;;
+         *-*-nto*)       platform=QNX ;;
+         *-*-linux*)     platform=LINUX ;;
++        *-*-k*bsd*)     platform=LINUX ;;
+         *-*-freebsd*)   platform=FREEBSD ;;
+         *-*-netbsd*)    platform=NETBSD ;;
+         *-*-irix*)      platform=IRIX ;;
+diff -ur ../xerces-c-src_2_7_0/src/xercesc/util/AutoSense.hpp xerces-c-src_2_7_0/src/xercesc/util/AutoSense.hpp
+--- ../xerces-c-src_2_7_0/src/xercesc/util/AutoSense.hpp	2005-09-07 17:55:50.000000000 +0200
++++ xerces-c-src_2_7_0/src/xercesc/util/AutoSense.hpp	2005-11-05 17:58:41.000000000 +0100
+@@ -58,6 +58,9 @@
+     #if defined(__s390__)
+         #define XML_LINUX_390
+     #endif
++#elif defined(__GLIBC__)
++    #define XML_LINUX
++    #define XML_UNIX
+ #elif defined(__FreeBSD__)
+     #define XML_FREEBSD
+     #define XML_UNIX
+diff -ur ../xerces-c-src_2_7_0/src/xercesc/util/Platforms/Linux/LinuxPlatformUtils.cpp xerces-c-src_2_7_0/src/xercesc/util/Platforms/Linux/LinuxPlatformUtils.cpp
+--- ../xerces-c-src_2_7_0/src/xercesc/util/Platforms/Linux/LinuxPlatformUtils.cpp	2005-09-07 17:55:31.000000000 +0200
++++ xerces-c-src_2_7_0/src/xercesc/util/Platforms/Linux/LinuxPlatformUtils.cpp	2005-11-05 18:00:45.000000000 +0100
+@@ -36,7 +36,7 @@
+ #include    <stdlib.h>
+ #include    <errno.h>
+ #include    <libgen.h>
+-#include    <linux/limits.h>           //for PATH_MAX
++#include    <sys/param.h>           //for PATH_MAX
+ #include    <sys/timeb.h>
+ #include    <string.h>
+ #include    <xercesc/util/PlatformUtils.hpp>
+diff -ur ../xerces-c-src_2_7_0/tests/configure.in xerces-c-src_2_7_0/tests/configure.in
+--- ../xerces-c-src_2_7_0/tests/configure.in	2005-09-07 17:56:40.000000000 +0200
++++ xerces-c-src_2_7_0/tests/configure.in	2005-11-05 17:54:56.000000000 +0100
+@@ -38,6 +38,7 @@
+         *-*-sysv5uw7*)  platform=UNIXWARE ;;
+         *-*-beos*)      platform=BEOS ;;
+         *-*-linux*)     platform=LINUX ;;
++        *-*-k*bsd*)     platform=LINUX ;;
+         *-*-nto*)       platform=QNX ;;
+         *-*-freebsd*)   platform=FREEBSD ;;
+         *-*-netbsd*)    platform=NETBSD ;;

Added: packages/xerces/xerces27/trunk/debian/patches/11-kfreebsd-reconf.patch
===================================================================
--- packages/xerces/xerces27/trunk/debian/patches/11-kfreebsd-reconf.patch	2005-11-05 16:57:01 UTC (rev 492)
+++ packages/xerces/xerces27/trunk/debian/patches/11-kfreebsd-reconf.patch	2005-11-05 20:02:22 UTC (rev 493)
@@ -0,0 +1,911 @@
+diff -ur ../xerces-c-src_2_7_0/samples/configure xerces-c-src_2_7_0/samples/configure
+--- ../xerces-c-src_2_7_0/samples/configure	2005-09-07 17:56:50.000000000 +0200
++++ xerces-c-src_2_7_0/samples/configure	2005-11-05 18:03:14.000000000 +0100
+@@ -887,57 +887,6 @@
+   fi
+ fi
+ 
+-for ac_declaration in \
+-   ''\
+-   '#include <stdlib.h>' \
+-   'extern "C" void std::exit (int) throw (); using std::exit;' \
+-   'extern "C" void std::exit (int); using std::exit;' \
+-   'extern "C" void exit (int) throw ();' \
+-   'extern "C" void exit (int);' \
+-   'void exit (int);'
+-do
+-  cat > conftest.$ac_ext <<EOF
+-#line 901 "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-$ac_declaration
+-int main() {
+-exit (42);
+-; return 0; }
+-EOF
+-if { (eval echo configure:909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+-  :
+-else
+-  echo "configure: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  rm -rf conftest*
+-  continue
+-fi
+-rm -f conftest*
+-  cat > conftest.$ac_ext <<EOF
+-#line 919 "configure"
+-#include "confdefs.h"
+-$ac_declaration
+-int main() {
+-exit (42);
+-; return 0; }
+-EOF
+-if { (eval echo configure:926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+-  rm -rf conftest*
+-  break
+-else
+-  echo "configure: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest*
+-done
+-if test -n "$ac_declaration"; then
+-  echo '#ifdef __cplusplus' >>confdefs.h
+-  echo $ac_declaration      >>confdefs.h
+-  echo '#endif'             >>confdefs.h
+-fi
+-
+-
+ ac_aux_dir=
+ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
+   if test -f $ac_dir/install-sh; then
+@@ -969,7 +918,7 @@
+ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+ # ./install, which can be erroneously created by make from ./install.sh.
+ echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
+-echo "configure:973: checking for a BSD compatible install" >&5
++echo "configure:922: checking for a BSD compatible install" >&5
+ if test -z "$INSTALL"; then
+ if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -1024,7 +973,7 @@
+ # Extract the first word of "autoconf", so it can be a program name with args.
+ set dummy autoconf; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1028: checking for $ac_word" >&5
++echo "configure:977: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_AUTOCONF'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1053,7 +1002,7 @@
+ 
+ 
+ echo $ac_n "checking for floor in -lm""... $ac_c" 1>&6
+-echo "configure:1057: checking for floor in -lm" >&5
++echo "configure:1006: checking for floor in -lm" >&5
+ ac_lib_var=`echo m'_'floor | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -1061,7 +1010,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lm  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 1065 "configure"
++#line 1014 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -1072,7 +1021,7 @@
+ floor()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:1076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:1025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -1101,7 +1050,7 @@
+ 
+ 
+ echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
+-echo "configure:1105: checking for pthread_create in -lpthread" >&5
++echo "configure:1054: checking for pthread_create in -lpthread" >&5
+ ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -1109,7 +1058,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lpthread  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 1113 "configure"
++#line 1062 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -1120,7 +1069,7 @@
+ pthread_create()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:1124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:1073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -1149,7 +1098,7 @@
+ 
+ if test $ac_cv_lib_pthread_pthread_create = no; then
+ echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
+-echo "configure:1153: checking for pthread_create in -lpthreads" >&5
++echo "configure:1102: checking for pthread_create in -lpthreads" >&5
+ ac_lib_var=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -1157,7 +1106,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lpthreads  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 1161 "configure"
++#line 1110 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -1168,7 +1117,7 @@
+ pthread_create()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:1172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:1121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -1198,7 +1147,7 @@
+ fi
+ 
+ echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+-echo "configure:1202: checking how to run the C preprocessor" >&5
++echo "configure:1151: checking how to run the C preprocessor" >&5
+ # On Suns, sometimes $CPP names a directory.
+ if test -n "$CPP" && test -d "$CPP"; then
+   CPP=
+@@ -1213,13 +1162,13 @@
+   # On the NeXT, cc -E runs the code through the compiler's parser,
+   # not just through cpp.
+   cat > conftest.$ac_ext <<EOF
+-#line 1217 "configure"
++#line 1166 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:1223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:1172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -1230,13 +1179,13 @@
+   rm -rf conftest*
+   CPP="${CC-cc} -E -traditional-cpp"
+   cat > conftest.$ac_ext <<EOF
+-#line 1234 "configure"
++#line 1183 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:1240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -1247,13 +1196,13 @@
+   rm -rf conftest*
+   CPP="${CC-cc} -nologo -E"
+   cat > conftest.$ac_ext <<EOF
+-#line 1251 "configure"
++#line 1200 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:1257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:1206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -1281,17 +1230,17 @@
+ do
+ ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:1285: checking for $ac_hdr" >&5
++echo "configure:1234: checking for $ac_hdr" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 1290 "configure"
++#line 1239 "configure"
+ #include "confdefs.h"
+ #include <$ac_hdr>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:1295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:1244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   rm -rf conftest*
+@@ -1331,7 +1280,7 @@
+ fi
+ 
+ echo $ac_n "checking host system type""... $ac_c" 1>&6
+-echo "configure:1335: checking host system type" >&5
++echo "configure:1284: checking host system type" >&5
+ 
+ host_alias=$host
+ case "$host_alias" in
+@@ -1361,6 +1310,7 @@
+         *-*-sysv5uw7*)  platform=UNIXWARE ;;
+         *-*-beos*)      platform=BEOS ;;
+         *-*-linux*)     platform=LINUX ;;
++        *-*-k*bsd*)     platform=LINUX ;;
+         *-*-nto*)       platform=QNX ;;
+         *-*-freebsd*)   platform=FREEBSD ;;
+         *-*-netbsd*)    platform=NETBSD ;;
+@@ -1373,7 +1323,6 @@
+                             *)            osver=HPUX11;;
+                         esac;;
+         *-*-mvs*)       platform=OS390 ;;
+-        *-*ibm-openedition*|*-*-os390*) platform=OS390;;
+         *-*-os400*)     platform=OS400 ;;
+         *-*-OS400*)     platform=OS400 ;;
+         *-*-osf*)       platform=TRU64 ;;
+@@ -1387,6 +1336,9 @@
+ 
+ compiler=${CXX}
+ 
++
++
++
+ cxxver=${CXXVER}
+ 
+ 
+@@ -1484,11 +1436,7 @@
+ s%\]%\\&%g
+ s%\$%$$%g
+ EOF
+-if test "$platform"="OS400" || test "$platform" = "OS390";then
+-DEFS=`sed -f conftest.defs confdefs.h | tr '\n' ' '`          
+-else                                                          
+-DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`        
+-fi                                                            
++DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
+ rm -f conftest.defs
+ 
+ 
+@@ -1590,9 +1538,9 @@
+ s%@host_os@%$host_os%g
+ s%@platform@%$platform%g
+ s%@compiler@%$compiler%g
+-s%@cxxver@%$cxxver%g
+ s%@GXX@%$GXX%g
+ s%@GCC@%$GCC%g
++s%@cxxver@%$cxxver%g
+ s%@cxxflags@%$cxxflags%g
+ s%@cflags@%$cflags%g
+ s%@ldflags@%$ldflags%g
+diff -ur ../xerces-c-src_2_7_0/src/xercesc/configure xerces-c-src_2_7_0/src/xercesc/configure
+--- ../xerces-c-src_2_7_0/src/xercesc/configure	2005-09-07 17:55:53.000000000 +0200
++++ xerces-c-src_2_7_0/src/xercesc/configure	2005-11-05 18:03:21.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#! /bin/sh
+ 
+ # Guess values for system-dependent variables and create Makefiles.
+ # Generated automatically using autoconf version 2.13 
+@@ -887,57 +887,6 @@
+   fi
+ fi
+ 
+-for ac_declaration in \
+-   ''\
+-   '#include <stdlib.h>' \
+-   'extern "C" void std::exit (int) throw (); using std::exit;' \
+-   'extern "C" void std::exit (int); using std::exit;' \
+-   'extern "C" void exit (int) throw ();' \
+-   'extern "C" void exit (int);' \
+-   'void exit (int);'
+-do
+-  cat > conftest.$ac_ext <<EOF
+-#line 901 "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-$ac_declaration
+-int main() {
+-exit (42);
+-; return 0; }
+-EOF
+-if { (eval echo configure:909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+-  :
+-else
+-  echo "configure: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  rm -rf conftest*
+-  continue
+-fi
+-rm -f conftest*
+-  cat > conftest.$ac_ext <<EOF
+-#line 919 "configure"
+-#include "confdefs.h"
+-$ac_declaration
+-int main() {
+-exit (42);
+-; return 0; }
+-EOF
+-if { (eval echo configure:926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+-  rm -rf conftest*
+-  break
+-else
+-  echo "configure: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest*
+-done
+-if test -n "$ac_declaration"; then
+-  echo '#ifdef __cplusplus' >>confdefs.h
+-  echo $ac_declaration      >>confdefs.h
+-  echo '#endif'             >>confdefs.h
+-fi
+-
+-
+ ac_aux_dir=
+ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
+   if test -f $ac_dir/install-sh; then
+@@ -969,7 +918,7 @@
+ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+ # ./install, which can be erroneously created by make from ./install.sh.
+ echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
+-echo "configure:973: checking for a BSD compatible install" >&5
++echo "configure:922: checking for a BSD compatible install" >&5
+ if test -z "$INSTALL"; then
+ if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -1024,7 +973,7 @@
+ # Extract the first word of "autoconf", so it can be a program name with args.
+ set dummy autoconf; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1028: checking for $ac_word" >&5
++echo "configure:977: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_AUTOCONF'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1054,7 +1003,7 @@
+ 
+ 
+ echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+-echo "configure:1058: checking how to run the C preprocessor" >&5
++echo "configure:1007: checking how to run the C preprocessor" >&5
+ # On Suns, sometimes $CPP names a directory.
+ if test -n "$CPP" && test -d "$CPP"; then
+   CPP=
+@@ -1069,13 +1018,13 @@
+   # On the NeXT, cc -E runs the code through the compiler's parser,
+   # not just through cpp.
+   cat > conftest.$ac_ext <<EOF
+-#line 1073 "configure"
++#line 1022 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:1079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -1086,13 +1035,13 @@
+   rm -rf conftest*
+   CPP="${CC-cc} -E -traditional-cpp"
+   cat > conftest.$ac_ext <<EOF
+-#line 1090 "configure"
++#line 1039 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:1096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:1045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -1103,13 +1052,13 @@
+   rm -rf conftest*
+   CPP="${CC-cc} -nologo -E"
+   cat > conftest.$ac_ext <<EOF
+-#line 1107 "configure"
++#line 1056 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:1113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:1062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -1134,12 +1083,12 @@
+ echo "$ac_t""$CPP" 1>&6
+ 
+ echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
+-echo "configure:1138: checking for ANSI C header files" >&5
++echo "configure:1087: checking for ANSI C header files" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 1143 "configure"
++#line 1092 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -1147,7 +1096,7 @@
+ #include <float.h>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:1151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:1100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   rm -rf conftest*
+@@ -1164,7 +1113,7 @@
+ if test $ac_cv_header_stdc = yes; then
+   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat > conftest.$ac_ext <<EOF
+-#line 1168 "configure"
++#line 1117 "configure"
+ #include "confdefs.h"
+ #include <string.h>
+ EOF
+@@ -1182,7 +1131,7 @@
+ if test $ac_cv_header_stdc = yes; then
+   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat > conftest.$ac_ext <<EOF
+-#line 1186 "configure"
++#line 1135 "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ EOF
+@@ -1203,7 +1152,7 @@
+   :
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 1207 "configure"
++#line 1156 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
+ #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+@@ -1214,7 +1163,7 @@
+ exit (0); }
+ 
+ EOF
+-if { (eval echo configure:1218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
++if { (eval echo configure:1167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+ then
+   :
+ else
+@@ -1238,12 +1187,12 @@
+ fi
+ 
+ echo $ac_n "checking for XMLByte""... $ac_c" 1>&6
+-echo "configure:1242: checking for XMLByte" >&5
++echo "configure:1191: checking for XMLByte" >&5
+ if eval "test \"`echo '$''{'ac_cv_type_XMLByte'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 1247 "configure"
++#line 1196 "configure"
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #if STDC_HEADERS
+@@ -1278,7 +1227,7 @@
+ fi
+ 
+ echo $ac_n "checking host system type""... $ac_c" 1>&6
+-echo "configure:1282: checking host system type" >&5
++echo "configure:1231: checking host system type" >&5
+ 
+ host_alias=$host
+ case "$host_alias" in
+@@ -1308,6 +1257,7 @@
+         *-*-beos*)      platform=BEOS ;;
+         *-*-nto*)       platform=QNX ;;
+         *-*-linux*)     platform=LINUX ;;
++        *-*-k*bsd*)     platform=LINUX ;;
+         *-*-freebsd*)   platform=FREEBSD ;;
+         *-*-netbsd*)    platform=NETBSD ;;
+         *-*-irix*)      platform=IRIX ;;
+@@ -1326,7 +1276,6 @@
+                             *)            osver=HPUX11;;
+                         esac;;
+         *-*-mvs*)       platform=OS390 ;;
+-        *-*ibm-openedition*|*-*-os390*) platform=OS390;;
+         *-*-os400*)     platform=OS400 ;;
+         *-*-OS400*)     platform=OS400 ;;
+         *-*-osf*)		platform=TRU64 ;;
+@@ -1340,8 +1289,11 @@
+ 
+ cxx=${CXX}
+ 
++
++
+ cxxver=${CXXVER}
+ 
++
+ cc=${CC}
+ 
+ 
+@@ -1458,11 +1410,7 @@
+ s%\]%\\&%g
+ s%\$%$$%g
+ EOF
+-if test "$platform"="OS400" || test "$platform" = "OS390";then
+-DEFS=`sed -f conftest.defs confdefs.h | tr '\n' ' '`          
+-else                                                          
+-DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`        
+-fi                                                            
++DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
+ rm -f conftest.defs
+ 
+ 
+@@ -1472,7 +1420,7 @@
+ echo creating $CONFIG_STATUS
+ rm -f $CONFIG_STATUS
+ cat > $CONFIG_STATUS <<EOF
+-#!/bin/sh
++#! /bin/sh
+ # Generated automatically by configure.
+ # Run this file to recreate the current configuration.
+ # This directory was configured as follows,
+@@ -1518,7 +1466,6 @@
+ util/Platforms/AIX/Makefile \
+ util/Platforms/BeOS/Makefile \
+ util/Platforms/QNX/Makefile \
+-util/Platforms/Interix/Makefile \
+ util/Platforms/Linux/Makefile \
+ util/Platforms/FreeBSD/Makefile \
+ util/Platforms/NetBSD/Makefile \
+@@ -1604,8 +1551,8 @@
+ s%@host_os@%$host_os%g
+ s%@platform@%$platform%g
+ s%@cxx@%$cxx%g
+-s%@cxxver@%$cxxver%g
+ s%@GXX@%$GXX%g
++s%@cxxver@%$cxxver%g
+ s%@cc@%$cc%g
+ s%@GCC@%$GCC%g
+ s%@prefix_include@%$prefix_include%g
+@@ -1678,7 +1625,6 @@
+ util/Platforms/AIX/Makefile \
+ util/Platforms/BeOS/Makefile \
+ util/Platforms/QNX/Makefile \
+-util/Platforms/Interix/Makefile \
+ util/Platforms/Linux/Makefile \
+ util/Platforms/FreeBSD/Makefile \
+ util/Platforms/NetBSD/Makefile \
+diff -ur ../xerces-c-src_2_7_0/tests/configure xerces-c-src_2_7_0/tests/configure
+--- ../xerces-c-src_2_7_0/tests/configure	2005-09-07 17:56:40.000000000 +0200
++++ xerces-c-src_2_7_0/tests/configure	2005-11-05 18:03:08.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#! /bin/sh
+ 
+ # Guess values for system-dependent variables and create Makefiles.
+ # Generated automatically using autoconf version 2.13 
+@@ -887,57 +887,6 @@
+   fi
+ fi
+ 
+-for ac_declaration in \
+-   ''\
+-   '#include <stdlib.h>' \
+-   'extern "C" void XERCES_STD_QUALIFIER exit (int) throw (); using XERCES_STD_QUALIFIER exit;' \
+-   'extern "C" void XERCES_STD_QUALIFIER exit (int); using XERCES_STD_QUALIFIER exit;' \
+-   'extern "C" void exit (int) throw ();' \
+-   'extern "C" void exit (int);' \
+-   'void exit (int);'
+-do
+-  cat > conftest.$ac_ext <<EOF
+-#line 901 "configure"
+-#include "confdefs.h"
+-#include <stdlib.h>
+-$ac_declaration
+-int main() {
+-exit (42);
+-; return 0; }
+-EOF
+-if { (eval echo configure:909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+-  :
+-else
+-  echo "configure: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-  rm -rf conftest*
+-  continue
+-fi
+-rm -f conftest*
+-  cat > conftest.$ac_ext <<EOF
+-#line 919 "configure"
+-#include "confdefs.h"
+-$ac_declaration
+-int main() {
+-exit (42);
+-; return 0; }
+-EOF
+-if { (eval echo configure:926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+-  rm -rf conftest*
+-  break
+-else
+-  echo "configure: failed program was:" >&5
+-  cat conftest.$ac_ext >&5
+-fi
+-rm -f conftest*
+-done
+-if test -n "$ac_declaration"; then
+-  echo '#ifdef __cplusplus' >>confdefs.h
+-  echo $ac_declaration      >>confdefs.h
+-  echo '#endif'             >>confdefs.h
+-fi
+-
+-
+ ac_aux_dir=
+ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
+   if test -f $ac_dir/install-sh; then
+@@ -969,7 +918,7 @@
+ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+ # ./install, which can be erroneously created by make from ./install.sh.
+ echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
+-echo "configure:973: checking for a BSD compatible install" >&5
++echo "configure:922: checking for a BSD compatible install" >&5
+ if test -z "$INSTALL"; then
+ if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -1024,7 +973,7 @@
+ # Extract the first word of "autoconf", so it can be a program name with args.
+ set dummy autoconf; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:1028: checking for $ac_word" >&5
++echo "configure:977: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_prog_AUTOCONF'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -1053,7 +1002,7 @@
+ 
+ 
+ echo $ac_n "checking for floor in -lm""... $ac_c" 1>&6
+-echo "configure:1057: checking for floor in -lm" >&5
++echo "configure:1006: checking for floor in -lm" >&5
+ ac_lib_var=`echo m'_'floor | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -1061,7 +1010,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lm  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 1065 "configure"
++#line 1014 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -1072,7 +1021,7 @@
+ floor()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:1076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:1025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -1101,7 +1050,7 @@
+ 
+ 
+ echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
+-echo "configure:1105: checking for pthread_create in -lpthread" >&5
++echo "configure:1054: checking for pthread_create in -lpthread" >&5
+ ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -1109,7 +1058,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lpthread  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 1113 "configure"
++#line 1062 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -1120,7 +1069,7 @@
+ pthread_create()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:1124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:1073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -1149,7 +1098,7 @@
+ 
+ if test $ac_cv_lib_pthread_pthread_create = no; then
+ echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
+-echo "configure:1153: checking for pthread_create in -lpthreads" >&5
++echo "configure:1102: checking for pthread_create in -lpthreads" >&5
+ ac_lib_var=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+@@ -1157,7 +1106,7 @@
+   ac_save_LIBS="$LIBS"
+ LIBS="-lpthreads  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+-#line 1161 "configure"
++#line 1110 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+@@ -1168,7 +1117,7 @@
+ pthread_create()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:1172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:1121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -1198,7 +1147,7 @@
+ fi
+ 
+ echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+-echo "configure:1202: checking how to run the C preprocessor" >&5
++echo "configure:1151: checking how to run the C preprocessor" >&5
+ # On Suns, sometimes $CPP names a directory.
+ if test -n "$CPP" && test -d "$CPP"; then
+   CPP=
+@@ -1213,13 +1162,13 @@
+   # On the NeXT, cc -E runs the code through the compiler's parser,
+   # not just through cpp.
+   cat > conftest.$ac_ext <<EOF
+-#line 1217 "configure"
++#line 1166 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:1223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:1172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -1230,13 +1179,13 @@
+   rm -rf conftest*
+   CPP="${CC-cc} -E -traditional-cpp"
+   cat > conftest.$ac_ext <<EOF
+-#line 1234 "configure"
++#line 1183 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:1240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -1247,13 +1196,13 @@
+   rm -rf conftest*
+   CPP="${CC-cc} -nologo -E"
+   cat > conftest.$ac_ext <<EOF
+-#line 1251 "configure"
++#line 1200 "configure"
+ #include "confdefs.h"
+ #include <assert.h>
+ Syntax Error
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:1257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:1206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   :
+@@ -1281,17 +1230,17 @@
+ do
+ ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:1285: checking for $ac_hdr" >&5
++echo "configure:1234: checking for $ac_hdr" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   cat > conftest.$ac_ext <<EOF
+-#line 1290 "configure"
++#line 1239 "configure"
+ #include "confdefs.h"
+ #include <$ac_hdr>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:1295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
++{ (eval echo configure:1244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+   rm -rf conftest*
+@@ -1331,7 +1280,7 @@
+ fi
+ 
+ echo $ac_n "checking host system type""... $ac_c" 1>&6
+-echo "configure:1335: checking host system type" >&5
++echo "configure:1284: checking host system type" >&5
+ 
+ host_alias=$host
+ case "$host_alias" in
+@@ -1361,6 +1310,7 @@
+         *-*-sysv5uw7*)  platform=UNIXWARE ;;
+         *-*-beos*)      platform=BEOS ;;
+         *-*-linux*)     platform=LINUX ;;
++        *-*-k*bsd*)     platform=LINUX ;;
+         *-*-nto*)       platform=QNX ;;
+         *-*-freebsd*)   platform=FREEBSD ;;
+         *-*-netbsd*)    platform=NETBSD ;;
+@@ -1373,7 +1323,6 @@
+                             *)            osver=HPUX11;;
+                         esac;;
+         *-*-mvs*)       platform=OS390 ;;
+-        *-*ibm-openedition*|*-*-os390*) platform=OS390;;
+         *-*-os400*)     platform=OS400 ;;
+         *-*-OS400*)     platform=OS400 ;;
+         *-*-osf*)       platform=TRU64 ;;
+@@ -1387,6 +1336,9 @@
+ 
+ compiler=${CXX}
+ 
++
++
++
+ cxxver=${CXXVER}
+ 
+ 
+@@ -1484,11 +1436,7 @@
+ s%\]%\\&%g
+ s%\$%$$%g
+ EOF
+-if test "$platform"="OS400" || test "$platform" = "OS390";then
+-DEFS=`sed -f conftest.defs confdefs.h | tr '\n' ' '`          
+-else                                                          
+-DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`        
+-fi                                                            
++DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
+ rm -f conftest.defs
+ 
+ 
+@@ -1498,7 +1446,7 @@
+ echo creating $CONFIG_STATUS
+ rm -f $CONFIG_STATUS
+ cat > $CONFIG_STATUS <<EOF
+-#!/bin/sh
++#! /bin/sh
+ # Generated automatically by configure.
+ # Run this file to recreate the current configuration.
+ # This directory was configured as follows,
+@@ -1588,9 +1536,9 @@
+ s%@host_os@%$host_os%g
+ s%@platform@%$platform%g
+ s%@compiler@%$compiler%g
+-s%@cxxver@%$cxxver%g
+ s%@GXX@%$GXX%g
+ s%@GCC@%$GCC%g
++s%@cxxver@%$cxxver%g
+ s%@cxxflags@%$cxxflags%g
+ s%@cflags@%$cflags%g
+ s%@ldflags@%$ldflags%g

Modified: packages/xerces/xerces27/trunk/debian/rules
===================================================================
--- packages/xerces/xerces27/trunk/debian/rules	2005-11-05 16:57:01 UTC (rev 492)
+++ packages/xerces/xerces27/trunk/debian/rules	2005-11-05 20:02:22 UTC (rev 493)
@@ -42,13 +42,6 @@
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
-DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
-
-# backwards compatibility for sarge dpkg (linux only)
-ifeq ($(DEB_HOST_ARCH_OS),)
-        DEB_HOST_ARCH_OS := linux
-endif
-
 # Environment variables used by the build
 export USELIBWWW=0
 export ICUROOT=/usr
@@ -62,7 +55,7 @@
 	chmod a+x $(l_BUILD_DIR)/src/xercesc/runConfigure
 	cd $(l_BUILD_DIR)/src/xercesc \
 		&& XERCESCROOT=$(l_PWD)/$(l_BUILD_DIR) \
-		sh runConfigure -p$(DEB_HOST_ARCH_OS) -cgcc -xg++ -minmem -ticu \
+		sh runConfigure -plinux  -cgcc -xg++ -minmem -ticu \
 		                   -z -g \
 		                   -C --prefix=/usr \
 				   -C --mandir=\$${prefix}/share/man \




More information about the debian-xml-sgml-commit mailing list