Change 11606 by jhi@alpha on 2001/08/07 22:50:04
Subject: [PATCH 5.6.x, 5.7.2] hints/openbsd.sh tweaks.
From: Andy Dougherty <[EMAIL PROTECTED]>
Date: Tue, 7 Aug 2001 15:49:33 -0400 (EDT)
Message-ID:
<[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/hints/openbsd.sh#11 edit
Differences ...
==== //depot/perl/hints/openbsd.sh#11 (text) ====
Index: perl/hints/openbsd.sh
--- perl/hints/openbsd.sh.~1~ Tue Aug 7 17:00:06 2001
+++ perl/hints/openbsd.sh Tue Aug 7 17:00:06 2001
@@ -25,16 +25,18 @@
#
# Not all platforms support dynamic loading...
+# For the case of "$openbsd_distribution", the hints file
+# needs to know whether we are using dynamic loading so that
+# it can set the libperl name appropriately.
+# Allow command line overrides.
#
ARCH=`arch|sed 's/^OpenBSD.//'`
case "${ARCH}-${osvers}" in
alpha-*|mips-*|vax-*|powerpc-2.[0-7]|m88k-*)
- usedl=$undef
+ test -z "$usedl" && usedl=$undef
;;
*)
- usedl=$define
- d_dlopen=$define
- d_dlerror=$define
+ test -z "$usedl" && usedl=$define
# 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"
End of Patch.