summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-04-05 17:33:59 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-04-05 17:33:59 +0000
commitb48415ed79c52a59a78f83bbb7aafdbd53bd531f (patch)
tree718237f6187f59250b2c6edb5e82baf1e97908d0 /gnu
parentb6fd04d222033c75bf2682dafd2fc3e47762ae50 (diff)
If the first field of 'uname -a' output is openbsd, treat the OS as
OpenBSD regardless of anything else. Fixes a bizarre problem where if the hostname was set to "openbsd" the correct hint file was not found.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/perl/Configure5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/Configure b/gnu/usr.bin/perl/Configure
index f88010f8a85..db370cde7ab 100644
--- a/gnu/usr.bin/perl/Configure
+++ b/gnu/usr.bin/perl/Configure
@@ -18,7 +18,7 @@
# you may fetch it yourself from your nearest archive site.)
#
-# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
+# $Id: Configure,v 1.8 2001/05/24 18:34:43 millert Exp $
#
# Generated on Tue Mar 13 05:21:04 EET 2001 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
@@ -2533,6 +2533,9 @@ EOM
;;
next*) osname=next ;;
nonstop-ux) osname=nonstopux ;;
+ openbsd) osname=openbsd
+ osvers="$3"
+ ;;
POSIX-BC | posix-bc ) osname=posix-bc
osvers="$3"
;;