summaryrefslogtreecommitdiff
path: root/ports-mgmt/portmk
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2007-03-01 09:47:44 +0000
committerErwin Lansing <erwin@FreeBSD.org>2007-03-01 09:47:44 +0000
commit2ac47976994a6728ea355086d06688f3bc5912ec (patch)
treedc4b52811dea59dad19f603c89661f23eb368576 /ports-mgmt/portmk
parent- Update to 2.3.0 (diff)
Protect the inclusion of bsd.php.mk by checking for a local
version. Submitted by: linimon Tested by: INDEX
Notes
Notes: svn path=/head/; revision=186246
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)