3 # $QuaggaId: Format:%an, %ai, %h$ $
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).
10 # Quagga is currently documented not to require GNU make, but sometimes
11 # BSD make fails. Enable this if statement as a workaround.
14 echo "WARNING: using gmake to work around nonportable makefiles"
17 # Use /usr/quagga to be independent, and /usr/pkg to overwrite pkgsrc.
23 # Omitted because it is now default:
26 LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib" CPPFLAGS="-I/usr/pkg/include" \
27 ./configure --prefix=${PREFIX} \
28 --sysconfdir=/etc/zebra --localstatedir=/var/run/zebra \
29 --enable-exampledir=${PREFIX}/share/examples/zebra \
30 --enable-pkgsrcrcdir=${PREFIX}/etc/rc.d \
44 echo "Usage: README.NetBSD (build|install|clean)"