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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   15-Jan-2003 17:39:37
  Branch: HEAD                             Handle: 2003011516393601

  Modified files:
    openpkg-src/cpu         cpu.spec
    openpkg-web             news.txt

  Log:
    try to fix building under Solaris

  Summary:
    Revision    Changes     Path
    1.14        +7  -3      openpkg-src/cpu/cpu.spec
    1.2831      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/cpu/cpu.spec
  ============================================================================
  $ cvs diff -u -r1.13 -r1.14 cpu.spec
  --- openpkg-src/cpu/cpu.spec  14 Jan 2003 19:15:09 -0000      1.13
  +++ openpkg-src/cpu/cpu.spec  15 Jan 2003 16:39:37 -0000      1.14
  @@ -33,7 +33,7 @@
   Group:        Converter
   License:      GPL
   Version:      1.3.13
  -Release:      20030114
  +Release:      20030115
   
   #   list of sources
   Source0:      http://osdn.dl.sourceforge.net/sourceforge/cpu/cpu-%{version}.tar.gz
  @@ -41,7 +41,7 @@
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20021230, openldap, openssl
  +BuildPreReq:  OpenPKG, openpkg >= 20021230, openldap, openssl, gcc
   PreReq:       OpenPKG, openpkg >= 20021230
   AutoReq:      no
   AutoReqProv:  no
  @@ -58,11 +58,15 @@
       touch * */* # fix timestamps
   
   %build
  +    libs=""
  +    case "%l_target}" in
  +        *-solaris* ) libs="-lsocket -lnsl" ;;
  +    esac
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
       CPPFLAGS="-I%{l_prefix}/include" \
       LDFLAGS="-L%{l_prefix}/lib" \
  -    LIBS="-lldap -llber -lssl -lcrypto" \
  +    LIBS="-lldap -llber -lssl -lcrypto $libs" \
       ./configure \
           --prefix=%{l_prefix} \
           --sysconfdir=%{l_prefix}/etc/cpu
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.2830 -r1.2831 news.txt
  --- openpkg-web/news.txt      15 Jan 2003 16:35:55 -0000      1.2830
  +++ openpkg-web/news.txt      15 Jan 2003 16:39:36 -0000      1.2831
  @@ -1,3 +1,4 @@
  +15-Jan-2003: Upgraded package: P<cpu-1.3.13-20030115>
   15-Jan-2003: Upgraded package: P<sqlite-2.7.5-20030115>
   15-Jan-2003: Upgraded package: P<ethereal-0.9.8-20030115>
   15-Jan-2003: Upgraded package: P<gif2png-2.4.6-20030115>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to