freebsd-ports/devel/apr1/files/patch-apr_hints.m4
Philip M. Gollucci ed701bd5db 1/5: Update to apr 1.4.2
PR:             ports/146130
Approved by:    portmgr (pav)
Tested by:      -exp run (pav)
With Hat:       apache@
2010-05-05 21:40:46 +00:00

15 lines
571 B
Text

--- apr-1.4.2/build/apr_hints.m4.orig Wed Oct 27 11:12:28 2004
+++ apr-1.4.2/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"