aboutsummaryrefslogtreecommitdiff
path: root/lang/php4
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php4')
-rw-r--r--lang/php4/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile
index a35437ba6900..33d97675b490 100644
--- a/lang/php4/Makefile
+++ b/lang/php4/Makefile
@@ -627,7 +627,8 @@ LIB_DEPENDS+= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
CONFIGURE_ARGS+=--with-snmp=${LOCALBASE} --enable-ucd-snmp-hack
.endif
-PHP_PORT= ${.CURDIR:S|^${PORTSDIR}||:S|^/||}
+_PORTSDIR!= ${REALPATH} ${PORTSDIR}
+PHP_PORT= ${.CURDIR:S|^${_PORTSDIR}||:S|^/||}
pre-patch:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php