summaryrefslogtreecommitdiff
path: root/hints/openbsd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/openbsd.sh')
-rw-r--r--hints/openbsd.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/hints/openbsd.sh b/hints/openbsd.sh
index 3f4c96f6e0..4ae2611b07 100644
--- a/hints/openbsd.sh
+++ b/hints/openbsd.sh
@@ -4,6 +4,9 @@
# Edited to allow Configure command-line overrides by
# Andy Dougherty <doughera@lafcol.lafayette.edu>
#
+# To build with distribution paths, use:
+# ./Configure -des -Dopenbsd_distribution
+#
# OpenBSD has a better malloc than perl...
test "$usemymalloc" || usemymalloc='n'
@@ -68,4 +71,21 @@ $define|true|[yY]*)
esac
EOCBU
+# When building in the OpenBSD tree we use different paths
+# This is only part of the story, the rest comes from config.over
+case "$openbsd_distribution" in
+''|$undef|false|[nN]*) ;;
+*)
+ # We put things in /usr, not /usr/local
+ prefix='/usr'
+ prefixexp='/usr'
+ sysman='/usr/share/man/man1'
+ # Never look for things in /usr/local
+ glibpth='/usr/lib'
+ libpth='/usr/lib'
+ locincpth=''
+ loclibpth=''
+ ;;
+esac
+
# end