1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/www/apache22/files/patch-srclib:apr:build:apr_hints.m4
Clement Laforet f923f178ec - Sync with www/apache2:
- mod_ssl fix
  - make envvars modular
- Try to make pointyhat happy [1]

Obtained from:  devel/apr [1]
2004-12-18 11:09:00 +00:00

17 lines
578 B
Plaintext

--- srclib/apr/build/apr_hints.m4.orig Wed Oct 27 11:12:28 2004
+++ srclib/apr/build/apr_hints.m4 Wed Oct 27 11:25:32 2004
@@ -137,11 +137,7 @@
;;
*-freebsd*)
APR_SETIFNULL(apr_lock_method, [USE_FLOCK_SERIALIZE])
- 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"