Skip to content

Commit

Permalink
XXX check with freebsd: hints/freebsd.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed Apr 9, 2021
1 parent c803ff6 commit d5e60a6
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions hints/freebsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -320,17 +320,13 @@ d_printf_format_null='undef'

# See [perl #128867]
# Interpreting: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211743#c10
# khw workaround no longer needed in the following FREEBSD_KERNEL_VERSIONs
#1200004 and up
#1100502 >= version < 1200000
#1003507 >= version < 1100000
# Experiments have shown that this doesn't fully work. The first kernel we know it works is 1200056

# khw workaround no longer needed except for the following versions
FREEBSD_KERNEL_VERSION=`uname -U`
#if [ $FREEBSD_KERNEL_VERSION -lt 1003507 ] || \
# [ $FREEBSD_KERNEL_VERSION -ge 1100000 ] && [ $FREEBSD_KERNEL_VERSION -lt 1100502 ] || \
# [ $FREEBSD_KERNEL_VERSION -ge 1200000 ] && [ $FREEBSD_KERNEL_VERSION -lt 1200004 ]
if [ $FREEBSD_KERNEL_VERSION -lt 1200056 ]
if [ $FREEBSD_KERNEL_VERSION -lt 1003507 \
-o \( $FREEBSD_KERNEL_VERSION -ge 1100000 \
-a $FREEBSD_KERNEL_VERSION -lt 1100502 \) \
-o \( $FREEBSD_KERNEL_VERSION -ge 1200000 \
-a $FREEBSD_KERNEL_VERSION -lt 1200004 \) ]
then
d_uselocale='undef'
fi
Expand Down

0 comments on commit d5e60a6

Please sign in to comment.