Once again syncing after too long an absence
[p5sagit/p5-mst-13.2.git] / 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'