summaryrefslogtreecommitdiff
path: root/lang/php5
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-02-09 10:02:44 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-02-09 10:02:44 +0000
commitd965a0315fd43372a3243cce521c548774904828 (patch)
treee20e1ad07345dc99d0bde6c80fe68aa42a7c63db /lang/php5
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)
Notes
Notes: svn path=/head/; revision=100481
Diffstat (limited to 'lang/php5')
-rw-r--r--lang/php5/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile
index ea309e5b0386..1d27b5e2ba00 100644
--- a/lang/php5/Makefile
+++ b/lang/php5/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 \