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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   13-Jan-2007 09:30:24
  Branch: HEAD                             Handle: 2007011308302400

  Modified files:
    openpkg-src/bind        bind.spec

  Log:
    fix building under Solaris: the configure script too late checks for
    -lnsl -lsocket and this way the check for -lcrypto fails and as a
    result a fallback implementation for OpenSSL's
    DH_generate_parameters() is enabled which in turn results in a symbol
    conflict during link-time. As a workaround pass the -lsocket -lnsl for
    -lcrypto via OpenSSL's pkg-config script.

  Summary:
    Revision    Changes     Path
    1.117       +3  -2      openpkg-src/bind/bind.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/bind/bind.spec
  ============================================================================
  $ cvs diff -u -r1.116 -r1.117 bind.spec
  --- openpkg-src/bind/bind.spec        1 Jan 2007 17:36:48 -0000       1.116
  +++ openpkg-src/bind/bind.spec        13 Jan 2007 08:30:24 -0000      1.117
  @@ -37,7 +37,7 @@
   Group:        DNS
   License:      ISC
   Version:      %{V_opkg}
  -Release:      20061210
  +Release:      20070113
   
   #   list of sources
   Source0:      ftp://ftp.isc.org/isc/bind9/%{V_dist}/bind-%{V_dist}.tar.gz
  @@ -53,7 +53,7 @@
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20060823, make
  +BuildPreReq:  OpenPKG, openpkg >= 20060823, make, pkgconfig
   PreReq:       OpenPKG, openpkg >= 20060823
   BuildPreReq:  openssl
   PreReq:       openssl
  @@ -87,6 +87,7 @@
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
       LDFLAGS="%{l_ldflags}" \
  +    LIBS="`pkg-config openssl --libs`" \
       ./configure \
           --prefix=%{l_prefix} \
           --sysconfdir=%{l_prefix}/etc/bind \
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to