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

  Server: cvs.openpkg.org                  Name:   Torsten Homeyer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   25-Jun-2004 14:17:44
  Branch: HEAD                             Handle: -NONE-

  Modified files:
    openpkg-src/quagga      quagga.spec

  Log:
    Sorry, no isisd on Solaris and NetBSD

  Summary:
    Revision    Changes     Path
    1.13        +0  -0      openpkg-src/quagga/quagga.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/quagga/quagga.spec
  ============================================================================
  $ cvs diff -u -r1.12 -r1.13 quagga.spec
  --- openpkg-src/quagga/quagga.spec    21 Jun 2004 11:36:56 -0000      1.12
  +++ openpkg-src/quagga/quagga.spec    25 Jun 2004 12:17:43 -0000      1.13
  @@ -34,7 +34,7 @@
   Group:        Network
   License:      GPL
   Version:      0.96.5
  -Release:      20040621
  +Release:      20040625
   
   #   list of sources
   Source0:      http://www.quagga.net/download/quagga-%{version}.tar.gz
  @@ -85,22 +85,16 @@
                   bgpd/bgp_routemap.c
               ;;
       esac
  -    %{l_shtool} subst \
  -         -e '/^#include <net\/ethernet.h>/s;;#include "compat_ethernet.h";' \
  -         isisd/*.c
  -    ( echo "#if defined(__NetBSD__)"
  -      echo "#  include<net/ethertypes.h>"
  -      echo "#  include<net/if_ether.h>"
  -      echo "#  include<net/bpf.h>"
  -      echo "#elif defined(__sun) && defined(__SVR4)"
  -      echo "#  include<sys/ethernet.h>"
  -      echo "#else"
  -      echo "#  include<net/ethernet.h>"
  -      echo "#endif"
  -    ) >isisd/compat_ethernet.h
   
   %build
       #   configure package
  +    ISISD=""
  +    case "%{l_platform -t}" in
  +        *-netbsd* )
  +            ISISD="--disable-isisd" ;;
  +        *-sunos* )
  +            ISISD="--disable-isisd" ;;
  +    esac
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
       CPPFLAGS="%{l_cppflags}" \
  @@ -113,7 +107,8 @@
           --disable-ospf6d \
           --disable-ripngd \
           --disable-ipv6 \
  -        --without-libpam
  +        --without-libpam \
  +        $ISISD
   
       #   build package
       %{l_make} %{l_mflags -O}
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to