diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-02-09 10:02:44 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-02-09 10:02:44 +0000 |
commit | d965a0315fd43372a3243cce521c548774904828 (patch) | |
tree | e20e1ad07345dc99d0bde6c80fe68aa42a7c63db /lang/php4 | |
parent | - Use process scope threads instead of system scope to enable large (diff) |
Fix PTHREAD_LIBS and adapt it to apache2 way.
Submitted by: Xin Li
Approved by: nork (mentor/implicitly)
Diffstat (limited to 'lang/php4')
-rw-r--r-- | lang/php4/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile index 4a057e506312..7c9b91f80db9 100644 --- a/lang/php4/Makefile +++ b/lang/php4/Makefile @@ -67,8 +67,11 @@ GNU_CONFIGURE= yes USE_BISON= yes USE_REINPLACE= yes -CONFIGURE_ENV= ac_cv_pthreads_lib=${PTHREAD_LIBS} \ - ac_cv_pthreads_cflags=${PTHREAD_CFLAGS} +WITH_PTHREAD_LIBS?= ${PTHREAD_LIBS:S/-l//} +WITH_PTHREAD_CFLAGS?= ${PTHREAD_CFLAGS} + +CONFIGURE_ENV= ac_cv_pthreads_lib=${WITH_PTHREAD_LIBS} \ + ac_cv_pthreads_cflags=${WITH_PTHREAD_CFLAGS} CONFIGURE_ARGS= --enable-versioning \ --enable-memory-limit \ |