aboutsummaryrefslogtreecommitdiff
path: root/lang/php4
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/php4
parentd3a457db41524eef0d8bc9b8d54445b7b1163433 (diff)
downloadports-d965a0315fd43372a3243cce521c548774904828.tar.gz
ports-d965a0315fd43372a3243cce521c548774904828.zip
Notes
Diffstat (limited to 'lang/php4')
-rw-r--r--lang/php4/Makefile7
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 \