X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fnetbsd.sh;h=e359127dcaa1a3c888599cbfeac01a5ca53a213d;hb=9cc6feabb930fb7cac992ab0a2febf2fb1986667;hp=a8cc7dc7089733bce631440cbe59776092c0eb73;hpb=099685bc64c7dbceb0d631a2523edb7f61aaf02f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/netbsd.sh b/hints/netbsd.sh index a8cc7dc..e359127 100644 --- a/hints/netbsd.sh +++ b/hints/netbsd.sh @@ -51,20 +51,22 @@ case "$osvers" in 0.9*|1.[012]*|1.3|1.3.1) d_setregid="$undef" d_setreuid="$undef" - d_setrgid="$undef" - d_setruid="$undef" ;; esac +# These are obsolete in any netbsd. +d_setrgid="$undef" +d_setruid="$undef" + # there's no problem with vfork. case "$usevfork" in '') usevfork=true ;; esac -# Avoid telldir prototype conflict in pp_sys.c (NetBSD uses const DIR *) -# Configure should test for this. Volunteers? -pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"' - # Pre-empt the /usr/bin/perl question of installperl. installusrbinperl='n' +# Recognize the NetBSD packages collection. +# GDBM might be here. +test -d /usr/pkg/lib && loclibpth="$loclibpth /usr/pkg/lib" +test -d /usr/pkg/include && locincpth="$locincpth /usr/pkg/include"