From ac8dc441f1c14591deb9ce9b44d36abdcd3c79e1 Mon Sep 17 00:00:00 2001 From: clement Date: Thu, 19 Aug 2004 14:38:36 +0000 Subject: - 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" [1] --- www/apache20/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'www/apache20/Makefile') 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 -- cgit v1.1