summaryrefslogtreecommitdiff
path: root/lang/php5/Makefile
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2006-01-31 08:36:02 +0000
committerAlex Dupre <ale@FreeBSD.org>2006-01-31 08:36:02 +0000
commitfae3e9d08c906a914aee57d04ac75d21f05b0dfc (patch)
treed2c9d7ad43c90d3661ab1c9196a242db5d1fcc90 /lang/php5/Makefile
parent- substitute PREFIX in rc script (diff)
Fix linking on 4.x (yes, this is another PHP configure bug).
While I'm here, replace a '=' with '+='.
Notes
Notes: svn path=/head/; revision=154870
Diffstat (limited to 'lang/php5/Makefile')
-rw-r--r--lang/php5/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile
index 4e33af8a9dca..fd677ae1c48e 100644
--- a/lang/php5/Makefile
+++ b/lang/php5/Makefile
@@ -109,9 +109,11 @@ CONFIGURE_ARGS+=--disable-cgi
.include <bsd.port.pre.mk>
-CONFIGURE_ENV= ac_cv_pthreads_lib=${PTHREAD_LIBS} \
+CONFIGURE_ENV+= ac_cv_pthreads_lib=${PTHREAD_LIBS} \
ac_cv_pthreads_cflags=${PTHREAD_CFLAGS}
+MAKE_ENV+= LDFLAGS="${LDFLAGS}"
+
.if defined(WITH_APACHE)
.if ${APACHE_VERSION} > 13
CONFIGURE_ARGS+=--with-apxs2=${APXS}