From b460d71e845bdcd18c24add9d912be659269dca5 Mon Sep 17 00:00:00 2001 From: clement Date: Sat, 7 Aug 2004 19:47:16 +0000 Subject: We don't need -DFREEBSD_THREAD_HACK when using kse or thr as threading library. --- www/apache20/Makefile.modules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/apache20') diff --git a/www/apache20/Makefile.modules b/www/apache20/Makefile.modules index 72d9d64c534b..38833c6b45d0 100644 --- a/www/apache20/Makefile.modules +++ b/www/apache20/Makefile.modules @@ -93,10 +93,11 @@ CONFIGURE_ARGS+= --with-dbm=sdbm .if defined(WITH_THREADS) CONFIGURE_ARGS+= --enable-threads -CFLAGS+= -DFREEBSD_THREAD_HACK . if ${WITH_PTHREAD_LIBS} != "c_r" && ${OSVERSION} > 500023 CONFIGURE_ENV+= apr_cv_pthreads_lib=-l${WITH_PTHREAD_LIBS} \ apr_cv_pthreads_cflags=${WITH_PTHREAD_CFLAGS} +. else +CFLAGS+= -DFREEBSD_THREAD_HACK . endif .endif -- cgit