[ID 20001021.003] updated hints/openbsd.sh
Todd C. Miller [Sat, 21 Oct 2000 13:55:50 +0000 (07:55 -0600)]
Message-Id: <200010211955.e9LJton24170@xerxes.courtesan.com>

p4raw-id: //depot/perl@7397

hints/openbsd.sh

index 5b79709..2e7a433 100644 (file)
@@ -43,7 +43,7 @@ OpenBSD.alpha|OpenBSD.mips|OpenBSD.powerpc|OpenBSD.vax)
                ;;
        *) # from 2.8 onwards
                ld=${cc:-cc}
-               lddlflags="-shared $lddlflags"
+               lddlflags="-shared -fPIC $lddlflags"
                ;;
        esac
        ;;
@@ -95,6 +95,9 @@ case "$openbsd_distribution" in
        sysman='/usr/share/man/man1'
        libpth='/usr/lib'
        glibpth='/usr/lib'
+       # Local things, however, do go in /usr/local
+       siteprefix='/usr/local'
+       siteprefixexp='/usr/local'
        # Ports installs non-std libs in /usr/local/lib so look there too
        locincpth='/usr/local/include'
        loclibpth='/usr/local/lib'