mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 02:56:39 -04:00
28 lines
896 B
Text
28 lines
896 B
Text
--- apr-1.7.5/configure.orig 2015-04-25 12:04:18 UTC
|
|
+++ apr-1.7.5/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/'`
|