summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>1999-05-25 06:12:38 -0600
committerJarkko Hietaniemi <jhi@iki.fi>1999-05-25 23:08:07 +0000
commitc347f2776c91e4d555d0016f00573135979547eb (patch)
tree00f76020e4fdd4696d6955da8fa68c0dfdc1054c /hints
parentdca663ed364646b49648f5c2f9b31d92b014e9eb (diff)
downloadperl-c347f2776c91e4d555d0016f00573135979547eb.tar.gz
Configure -Dopenbsd_distribution to build for the OpenBSD tree.
To: perlbug@perl.com Subject: OpenBSD hints file update Message-Id: <199905251812.MAA06032@xerxes.courtesan.com> p4raw-id: //depot/cfgperl@3483
Diffstat (limited to 'hints')
-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