summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-02-02 20:33:03 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-02-02 20:33:03 +0000
commit5387a1a1c051368365dea2efd115475d108b2192 (patch)
tree01b456cb1f65d1cc88a7eb4bbc13a74c5c1abecf
parent9f4177c16367d4fb56f118bc8f9f4bcb17b3970c (diff)
Remove -Bforcearchive from lddlflags. -Bforcearchive only makes sense
if you are building a shared lib from a .a full of pic objects. This is not how perl builds shared libs and it hoses tk. Also sink with the hints file in perl5.005_63 (cosmetic)
-rw-r--r--gnu/usr.bin/perl/hints/openbsd.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/usr.bin/perl/hints/openbsd.sh b/gnu/usr.bin/perl/hints/openbsd.sh
index 692871c868a..08721a0926e 100644
--- a/gnu/usr.bin/perl/hints/openbsd.sh
+++ b/gnu/usr.bin/perl/hints/openbsd.sh
@@ -12,7 +12,7 @@
test "$usemymalloc" || usemymalloc='n'
# Currently, vfork(2) is not a real win over fork(2) but this will
-# change in a future release.
+# change starting with OpenBSD 2.7.
usevfork='true'
# setre?[ug]id() have been replaced by the _POSIX_SAVED_IDS versions
@@ -37,7 +37,17 @@ alpha|mips|powerpc|vax)
# we use -fPIC here because -fpic is *NOT* enough for some of the
# extensions like Tk on some OpenBSD platforms (ie: sparc)
cccdlflags="-DPIC -fPIC $cccdlflags"
- lddlflags="-Bforcearchive -Bshareable $lddlflags"
+ lddlflags="-Bshareable $lddlflags"
+ ;;
+esac
+
+#
+# Tweaks for various versions of OpenBSD
+#
+case "$osvers" in
+2.5)
+ # OpenBSD 2.5 has broken odbm support
+ i_dbm=$undef
;;
esac