aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_php3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php3/Makefile')
-rw-r--r--www/mod_php3/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile
index af20b972b21..e33a1e78263 100644
--- a/www/mod_php3/Makefile
+++ b/www/mod_php3/Makefile
@@ -172,4 +172,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