]> git.proxmox.com Git - mirror_frr.git/blame - README.NetBSD
[zebra] ignore dead routes in RIB update
[mirror_frr.git] / README.NetBSD
CommitLineData
a3214b79 1#!/bin/sh
2
cf4a2bbe 3$Id$
a3214b79 4
5# This file is helpful for building quagga from cvs on NetBSD, and
6# probably on any system using pkgsrc.
7# One should have readline installed already (pkgsrc/devel/readline).
8
14838194
GT
9# Quagga is currently documented not to require GNU make, but sometimes
10# BSD make fails. Enable this if statement as a workaround.
11if false; then
37ccd146 12 MAKE=gmake
14838194 13 echo "WARNING: using gmake to work around nonportable makefiles"
37ccd146
GT
14fi
15
a3214b79 16case $1 in
17
18 build)
409d8e4f 19 ./bootstrap.sh
a3214b79 20 LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib" CPPFLAGS="-I/usr/pkg/include" \
21 ./configure --prefix=/usr/quagga \
22 --sysconfdir=/etc/zebra --localstatedir=/var/run/zebra \
23 --enable-exampledir=/usr/quagga/share/examples/zebra \
24 --enable-pkgsrcrcdir=/usr/quagga/etc/rc.d \
25 --enable-opaque-lsa --enable-vtysh
26 make
27 ;;
28
29 install)
30 make install
31 ;;
32
33 clean)
34 make clean
14838194
GT
35 ;;
36
37 *)
38 echo "Illegal command $1"
39 exit 1
40 ;;
a3214b79 41
42esac