X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fopenbsd.sh;h=4ae2611b07a9974184c2afba7504e869235673b8;hb=808e46e63f3614cadd44c8187e3ba1ff1a6d7721;hp=3f4c96f6e029ab4b19c320e59c2cfd6affdea046;hpb=1528c3dbdf2fe37d35064c5d7626416bbc1da382;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/openbsd.sh b/hints/openbsd.sh index 3f4c96f..4ae2611 100644 --- a/hints/openbsd.sh +++ b/hints/openbsd.sh @@ -4,6 +4,9 @@ # Edited to allow Configure command-line overrides by # Andy Dougherty # +# 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