diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-08-07 19:47:16 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-08-07 19:47:16 +0000 |
commit | 7ee53773d55fd66db38408c4974122cb451cf682 (patch) | |
tree | 059caae424e9eec198b50ba2e210a1c60e9c6031 | |
parent | Update to version 1.2.1 (diff) |
We don't need -DFREEBSD_THREAD_HACK when using kse or thr as threading
library.
-rw-r--r-- | www/apache2/Makefile.modules | 3 | ||||
-rw-r--r-- | www/apache20/Makefile.modules | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/www/apache2/Makefile.modules b/www/apache2/Makefile.modules index 72d9d64c534b..38833c6b45d0 100644 --- a/www/apache2/Makefile.modules +++ b/www/apache2/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 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 |