summaryrefslogtreecommitdiff
path: root/hints/netbsd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/netbsd.sh')
-rw-r--r--hints/netbsd.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/hints/netbsd.sh b/hints/netbsd.sh
index a07d3726db..e359127dca 100644
--- a/hints/netbsd.sh
+++ b/hints/netbsd.sh
@@ -66,3 +66,7 @@ esac
# 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"