diff options
author | clement <clement@FreeBSD.org> | 2004-08-08 03:47:16 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-08-08 03:47:16 +0800 |
commit | b460d71e845bdcd18c24add9d912be659269dca5 (patch) | |
tree | f3432dbb4c33c0db3da757e134d24862676aa607 /www/apache20 | |
parent | af05f0b26bef742190c243cf10f1671d53cd2dce (diff) | |
download | freebsd-ports-gnome-b460d71e845bdcd18c24add9d912be659269dca5.tar.gz freebsd-ports-gnome-b460d71e845bdcd18c24add9d912be659269dca5.tar.zst freebsd-ports-gnome-b460d71e845bdcd18c24add9d912be659269dca5.zip |
We don't need -DFREEBSD_THREAD_HACK when using kse or thr as threading
library.
Diffstat (limited to 'www/apache20')
-rw-r--r-- | www/apache20/Makefile.modules | 3 |
1 files changed, 2 insertions, 1 deletions
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 |