Small test tweaks.
[p5sagit/p5-mst-13.2.git] / hints / netbsd.sh
index 6ca0218..e359127 100644 (file)
@@ -63,10 +63,10 @@ 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"