From: Todd C. Miller Date: Tue, 25 May 1999 12:12:38 +0000 (-0600) Subject: Configure -Dopenbsd_distribution to build for the OpenBSD tree. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c347f2776c91e4d555d0016f00573135979547eb;p=p5sagit%2Fp5-mst-13.2.git 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 --- 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