isisd: fix --enable-isis-topology for 64-bit Linux
[jleu-quagga.git] / README.NetBSD
blob55e54af86c704ac22a2a346856a07f31879a36b2
1 #!/bin/sh
3 $Id$
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).
9 # Quagga is currently documented not to require GNU make, but sometimes
10 # BSD make fails. Enable this if statement as a workaround.
11 if false; then
12 MAKE=gmake
13 echo "WARNING: using gmake to work around nonportable makefiles"
16 case $1 in
18 build)
19 ./bootstrap.sh
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
29 install)
30 make install
33 clean)
34 make clean
38 echo "Illegal command $1"
39 exit 1
42 esac