aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portmk
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2007-03-01 17:47:44 +0800
committererwin <erwin@FreeBSD.org>2007-03-01 17:47:44 +0800
commit69d2d48e144ec68c26baa550f7246cab1a6e19af (patch)
treeae41d8da705a3882e974ffac5ee98cab63ec8c4d /ports-mgmt/portmk
parent4c9afc3e9ec6cee2bb471c9051d166791451ff8c (diff)
downloadfreebsd-ports-gnome-69d2d48e144ec68c26baa550f7246cab1a6e19af.tar.gz
freebsd-ports-gnome-69d2d48e144ec68c26baa550f7246cab1a6e19af.tar.zst
freebsd-ports-gnome-69d2d48e144ec68c26baa550f7246cab1a6e19af.zip
Protect the inclusion of bsd.php.mk by checking for a local
version. Submitted by: linimon Tested by: INDEX
Diffstat (limited to 'ports-mgmt/portmk')
-rw-r--r--ports-mgmt/portmk/Mk/bsd.port.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports-mgmt/portmk/Mk/bsd.port.mk b/ports-mgmt/portmk/Mk/bsd.port.mk
index 185e70bad940..7bd1c6ad22f1 100644
--- a/ports-mgmt/portmk/Mk/bsd.port.mk
+++ b/ports-mgmt/portmk/Mk/bsd.port.mk
@@ -2035,8 +2035,12 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
.endif
.if defined(USE_PHP)
+.if exists(${DEVELPORTSDIR}/Mk/bsd.php.mk)
+.include "${DEVELPORTSDIR}/Mk/bsd.php.mk"
+.else
.include "${PORTSDIR}/Mk/bsd.php.mk"
.endif
+.endif
.if defined(USE_PYTHON)
.if exists(${DEVELPORTSDIR}/Mk/bsd.python.mk)