ports/56663: apache2 always sets REENTRANT & THREAD_SAFE
Clement Laforet
sheepkiller at cultdeadsheep.org
Fri Sep 26 09:00:39 UTC 2003
The following reply was made to PR ports/56663; it has been noted by GNATS.
From: Clement Laforet <sheepkiller at cultdeadsheep.org>
To: freebsd-gnats-submit at FreeBSD.org
Cc: girgen at pingpong.net
Subject: Re: ports/56663: apache2 always sets REENTRANT & THREAD_SAFE
Date: Fri, 26 Sep 2003 10:51:28 +0200
(As I'm the new maintainer I handle this PR)
It's not an apache problem but an apr problem.
Even if threads are disabled, apr sets at configure time CPPFLAGS with
"-D_REENTRANT -D_THREAD_SAFE", so this is the correct apr behavior.
(I think that apr developpers are aware of this).
AFAIK, mod_jk2 theorically WANTS a threads-enabled apache environment.
If you want to build mod_jk2 without threading support, you should
contact mod_jk2 maintainer.
See http://www.thinlizard.com/lizard/modjk2.html
to know how to correctly compile mod_jk2 without thread.
Futhermore, it's a not a ports related problem, just an apr oddity :-)
I will investigate to know why apr set CPPFLAGS like this.
regards,
clem
More information about the freebsd-ports-bugs
mailing list