diff options
author | clement <clement@FreeBSD.org> | 2004-08-19 14:38:36 +0000 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-08-19 14:38:36 +0000 |
commit | ac8dc441f1c14591deb9ce9b44d36abdcd3c79e1 (patch) | |
tree | 73e2a8626064b25c3f2509ca2d46369a95e6d344 /www/apache20/Makefile | |
parent | 57bd5541084bf83b9d7a6b1526114dac1740f540 (diff) | |
download | FreeBSD-ports-ac8dc441f1c14591deb9ce9b44d36abdcd3c79e1.zip FreeBSD-ports-ac8dc441f1c14591deb9ce9b44d36abdcd3c79e1.tar.gz |
- Add support for exception hook:
* WITH_EXCEPTION_HOOK now exists
* Automatically add if WITH_DEBUG is set
* Update still-outdated-documentation
- Remove automatic debuf mode if DEBUG_FLAGS is set
Exception hook is very useful for debugging (upcoming www/mod_backtrace
and www/mod_whatkilledus modules)
Makefile.modules.3rd:
- Fix CONFIGURE_ARGS for dynamic module selection.
It's now fully usuable for apache13 ports
- Remove an useless WANT_APACHE check
- Move apxs detection at the beginning of the file, to use APXS_PREFIX
for apache major version detection [1]
The main advantage of this patch is to provide a nice way to
have multiple apache versions, without altering ${LOCALBASE}.
Submitted by: "ports/c0decafe.net" <ports at c0decafe dot net> [1]
Diffstat (limited to 'www/apache20/Makefile')
-rw-r--r-- | www/apache20/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/www/apache20/Makefile b/www/apache20/Makefile index e8f6087..ae35d07 100644 --- a/www/apache20/Makefile +++ b/www/apache20/Makefile @@ -100,10 +100,15 @@ CFLAGS+= -DSSL_EXPERIMENTAL_ENGINE .endif # debug overrides CFLAGS -.if defined(WITH_DEBUG) || defined (DEBUG_FLAGS) +.if defined(WITH_DEBUG) DEBUG_FLAGS?= -O0 -g -ggdb3 CFLAGS= ${DEBUG_FLAGS} CONFIGURE_ARGS+= --enable-maintainer-mode +WITH_EXCEPTION_HOOK= YES +.endif + +.if defined(WITH_EXCEPTION_HOOK) +CONFIGURE_ARGS+= --enable-exception-hook .endif # for slave ports |