summaryrefslogtreecommitdiff
path: root/www/mod_php5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php5/Makefile')
-rw-r--r--www/mod_php5/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index 5286218b36d2..53f80b4d8301 100644
--- a/www/mod_php5/Makefile
+++ b/www/mod_php5/Makefile
@@ -171,4 +171,10 @@ clean:
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif
+
+# Modssl needs to include bsd.port.pre.mk, so correct for this situation.
+.if defined(_PREMKINCLUDED)
+.include <bsd.port.post.mk>
+.else
.include <bsd.port.mk>
+.endif