OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   03-Jul-2003 17:33:35
  Branch: HEAD                             Handle: 2003070316333401

  Modified files:
    openpkg-src/xerces-c    xerces-c.patch xerces-c.spec
    openpkg-web             news.txt

  Log:
    add netaccessor libs to build of samples/

  Summary:
    Revision    Changes     Path
    1.7         +84 -0      openpkg-src/xerces-c/xerces-c.patch
    1.18        +1  -1      openpkg-src/xerces-c/xerces-c.spec
    1.5191      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/xerces-c/xerces-c.patch
  ============================================================================
  $ cvs diff -u -r1.6 -r1.7 xerces-c.patch
  --- openpkg-src/xerces-c/xerces-c.patch       2 Jun 2003 15:10:34 -0000       1.6
  +++ openpkg-src/xerces-c/xerces-c.patch       3 Jul 2003 15:33:35 -0000       1.7
  @@ -269,3 +269,87 @@
   +    PLATFORM_LIB_LINK_OPTIONS=-L/usr/lib
        SHLIBSUFFIX=.dylib
    endif
  +--- samples/runConfigure.dist        2003-07-03 17:00:52.000000000 +0200
  ++++ samples/runConfigure     2003-07-03 17:02:56.000000000 +0200
  +@@ -415,6 +415,72 @@
  + fi
  + 
  + #
  ++# Check for the type of net accessor
  ++#
  ++
  ++NETACCESSOR=Socket               # By default use socket (does HTTP URL's)
  ++if test $netaccessor ; then
  ++case $netaccessor in
  ++   fileonly)
  ++       NETACCESSOR=FileOnly
  ++       netaccessorDefines="" ;;
  ++
  ++   socket)
  ++       NETACCESSOR=Socket
  ++       netaccessorDefines="-DXML_USE_NETACCESSOR_SOCKET"
  ++       case $platform in
  ++           unixware|openserver)
  ++               netaccessorLibs="-lnsl -lsocket";;
  ++           hp-11)
  ++               netaccessorLibs="-lnsl";;
  ++           aix)
  ++               #netaccessorLibs="-lbsd";;
  ++               netaccessorLibs="";;
  ++           beos)
  ++               netaccessorLibs="-lnet";;
  ++           qnx) 
  ++               netaccessorLibs="-lsocket";;
  ++           solaris)
  ++               netaccessorLibs="-lnsl -lsocket"
  ++             if test $thread = "dce"; then
  ++                 netaccessorLibs=""
  ++             fi
  ++             ;;
  ++           *)
  ++               ;;
  ++       esac;;
  ++
  ++   libwww)
  ++       NETACCESSOR=LibWWW
  ++       if test -z "`libwww-config --libs 2>/dev/null`" ; then
  ++           echo "Netaccessor is libwww, but libwww-config is not found. Cannot 
proceed further."
  ++           exit ${ERROR_EXIT_CODE};
  ++       fi
  ++       netaccessorDefines="-DXML_USE_NETACCESSOR_LIBWWW `libwww-config --cflags`"
  ++       netaccessorLibs="`libwww-config --libs`"
  ++       USELIBWWW=1;;
  ++
  ++   native)
  ++       if test $platform = "macosx"; then
  ++           NETACCESSOR=NATIVE
  ++           netaccessorDefines="-DXML_USE_NETACCESSOR_NATIVE"
  ++           netaccessorLibs=""
  ++       else
  ++           echo "netaccessor option '$netaccessor' is supported on 'macosx' only."
  ++           exit ${ERROR_EXIT_CODE}
  ++       fi
  ++
  ++       ;;
  ++
  ++   *)
  ++       echo "I do not recognize the netaccessor option '$netaccessor'. Please type 
'${0} -h' for help."
  ++       exit ${ERROR_EXIT_CODE};;
  ++esac
  ++fi
  ++
  ++export NETACCESSOR
  ++
  ++#
  + # Set the C compiler and C++ compiler environment variables
  + #
  + case $cppcompiler in
  +@@ -458,7 +524,7 @@
  + LDFLAGS="$LDFLAGS $linkeroptions $bitstobuildLink"
  + export LDFLAGS
  + 
  +-EXTRA_LIBS="$transcodingLibs $threadingLibs"
  ++EXTRA_LIBS="$transcodingLibs $threadingLibs $netaccessorLibs"
  + export EXTRA_LIBS
  + 
  + echo
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/xerces-c/xerces-c.spec
  ============================================================================
  $ cvs diff -u -r1.17 -r1.18 xerces-c.spec
  --- openpkg-src/xerces-c/xerces-c.spec        2 Jun 2003 15:10:34 -0000       1.17
  +++ openpkg-src/xerces-c/xerces-c.spec        3 Jul 2003 15:33:35 -0000       1.18
  @@ -37,7 +37,7 @@
   Group:        Web
   License:      Apache Software License 1.1
   Version:      %{V_opkg}
  -Release:      20030602
  +Release:      20030703
   
   #   package options
   %option       with_pth           no
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.5190 -r1.5191 news.txt
  --- openpkg-web/news.txt      3 Jul 2003 15:01:04 -0000       1.5190
  +++ openpkg-web/news.txt      3 Jul 2003 15:33:34 -0000       1.5191
  @@ -1,3 +1,4 @@
  +03-Jul-2003: Upgraded package: P<xerces-c-2.3.0-20030703>
   03-Jul-2003: Upgraded package: P<tftp-0.34-20030703>
   03-Jul-2003: Upgraded package: P<sysmon-0.91.19-20030703>
   03-Jul-2003: Upgraded package: P<snmp-5.0.8-20030703>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to