1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- 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 ;-)
This commit is contained in:
Clement Laforet 2004-03-26 17:05:03 +00:00
parent 4acb929bc8
commit b5b3209ef4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105348
2 changed files with 4 additions and 4 deletions

View File

@ -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}

View File

@ -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}