$NetBSD: patch-al,v 1.2 2006/05/27 12:38:27 drochner Exp $ --- config/root-config.in.orig 2006-05-26 22:50:42.000000000 +0200 +++ config/root-config.in @@ -276,6 +276,12 @@ freebsd5) auxcflags= auxlibs="-lm -lstdc++" ;; +netbsd) + # NetBSD with libc + auxcflags= + auxlibs="-lm -lstdc++" + rootlibs="${rootlibs} -Wl,-R${libdir}" + ;; openbsd) # OpenBSD with libc auxcflags=