summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-12-21 15:28:06 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-12-21 15:28:06 +0000
commitda9963595a5f4d6c2ea78fdf8ceaf24a7ea13336 (patch)
treeed542fac1c8b5ec13730ae6af2998946af084776
parentcant fetch distfile for a LONG LONG time, so remove it (diff)
Add -I${PREFIX}/include to CFLAGS to fix build if MCAL and mcrypt
support is enabled. Reported by: Scott Allendorf <scott-allendorf@uiowa.edu>
Notes
Notes: svn path=/head/; revision=51926
-rw-r--r--www/mod_php4/Makefile2
-rw-r--r--www/mod_php5/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index 9e75e8f9c267..83d2da2b0352 100644
--- a/www/mod_php4/Makefile
+++ b/www/mod_php4/Makefile
@@ -57,6 +57,8 @@ CONFIGURE_ARGS+=--enable-versioning \
--without-gd \
--without-mysql
+CFLAGS+= -I${PREFIX}/include
+
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
TOUCH="${TOUCH}" \
MKDIR="${MKDIR}" \
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index 9e75e8f9c267..83d2da2b0352 100644
--- a/www/mod_php5/Makefile
+++ b/www/mod_php5/Makefile
@@ -57,6 +57,8 @@ CONFIGURE_ARGS+=--enable-versioning \
--without-gd \
--without-mysql
+CFLAGS+= -I${PREFIX}/include
+
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
TOUCH="${TOUCH}" \
MKDIR="${MKDIR}" \