aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-03-27 01:05:03 +0800
committerclement <clement@FreeBSD.org>2004-03-27 01:05:03 +0800
commitf1df9917ade57c43cc05e3edeb192679edf84c3c (patch)
treea969c8402cb9ff7df48cda933dc47ceae8b34fe1 /www
parent396d67a9de6575c2f738bf32902f1dc779c8eb1e (diff)
downloadfreebsd-ports-gnome-f1df9917ade57c43cc05e3edeb192679edf84c3c.tar.gz
freebsd-ports-gnome-f1df9917ade57c43cc05e3edeb192679edf84c3c.tar.zst
freebsd-ports-gnome-f1df9917ade57c43cc05e3edeb192679edf84c3c.zip
- s/ac_cv_pthreads/apr_cv_pthreads/ (due to changes in 2.0.49)
WITH_PTHREAD_LIBS and WITH_PTHREAD_CFLAGS are now working again WARNING: This option is still NOT offically supported. You can't flame me,but you still cansend me some backtrace ;-)
Diffstat (limited to 'www')
-rw-r--r--www/apache2/Makefile.modules4
-rw-r--r--www/apache20/Makefile.modules4
2 files changed, 4 insertions, 4 deletions
diff --git a/www/apache2/Makefile.modules b/www/apache2/Makefile.modules
index 851ad1e77648..556c18a3b91c 100644
--- a/www/apache2/Makefile.modules
+++ b/www/apache2/Makefile.modules
@@ -174,8 +174,8 @@ _APACHE_MODULES+= ${LDAP_MODULES}
CONFIGURE_ARGS+= --enable-threads
CFLAGS+= -DFREEBSD_THREAD_HACK
. if ${WITH_PTHREAD_LIBS} != "c_r" && ${OSVERSION} > 500023
-CONFIGURE_ENV+= ac_cv_pthreads_lib=${WITH_PTHREAD_LIBS} \
- ac_cv_pthreads_cflags=${WITH_PTHREAD_CFLAGS}
+CONFIGURE_ENV+= apr_cv_pthreads_lib=-l${WITH_PTHREAD_LIBS} \
+ apr_cv_pthreads_cflags=${WITH_PTHREAD_CFLAGS}
. endif
. if !defined(WITH_CUSTOM_THREADS)
_APACHE_MODULES+= ${THREADS_MODULES}
diff --git a/www/apache20/Makefile.modules b/www/apache20/Makefile.modules
index 851ad1e77648..556c18a3b91c 100644
--- a/www/apache20/Makefile.modules
+++ b/www/apache20/Makefile.modules
@@ -174,8 +174,8 @@ _APACHE_MODULES+= ${LDAP_MODULES}
CONFIGURE_ARGS+= --enable-threads
CFLAGS+= -DFREEBSD_THREAD_HACK
. if ${WITH_PTHREAD_LIBS} != "c_r" && ${OSVERSION} > 500023
-CONFIGURE_ENV+= ac_cv_pthreads_lib=${WITH_PTHREAD_LIBS} \
- ac_cv_pthreads_cflags=${WITH_PTHREAD_CFLAGS}
+CONFIGURE_ENV+= apr_cv_pthreads_lib=-l${WITH_PTHREAD_LIBS} \
+ apr_cv_pthreads_cflags=${WITH_PTHREAD_CFLAGS}
. endif
. if !defined(WITH_CUSTOM_THREADS)
_APACHE_MODULES+= ${THREADS_MODULES}