ports/devel/apr1/files/patch-apr-1.7.3_configure
Bernard Spil f473a726db devel/apr1: Update to 1.7.3
* Update APR-util to 1.6.3
 * Fix build with MySQL 8 [2]
 * databases/db5 is depreacated since 2022-06-30 [3]
 * Switch default BDB to 18

PR:		269857, 230538 [2], 261523 [3]
Submitted by:	ngie
With hat:	apache
2023-04-01 15:42:03 +00:00

28 lines
896 B
Text

--- apr-1.7.3/configure.orig 2015-04-25 12:04:18 UTC
+++ apr-1.7.3/configure
@@ -6624,11 +6624,7 @@ if test "x$apr_preload_done" != "xyes" ;
apr_lock_method="USE_FLOCK_SERIALIZE"
fi
- if test -x /sbin/sysctl; then
- os_version=`/sbin/sysctl -n kern.osreldate`
- else
- os_version=000000
- fi
+ os_version="OSVERSION"
# 502102 is when libc_r switched to libpthread (aka libkse).
if test $os_version -ge "502102"; then
apr_cv_pthreads_cflags="none"
@@ -18841,11 +18837,7 @@ fi
# comparisons.
case $host in
*freebsd*)
- if test -x /sbin/sysctl; then
- os_version=`/sbin/sysctl -n kern.osreldate`
- else
- os_version=000000
- fi
+ os_version="OSVERSION"
;;
*linux*)
os_major=`uname -r | sed -e 's/\([1-9][0-9]*\)\..*/\1/'`