summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-03-13 22:35:17 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-03-13 22:35:17 +0000
commit629fc51df0280bb8c30ed1499e2a27b59d068370 (patch)
tree9f930c3e91b2b99d9d025ec1a2dc0fefd7ebea24 /lang
parent- Update to version 2.2.1 (diff)
Fix PHP_PORT when PORTSDIR is a symlink.
Submitted by: marcus Reviewed by: pav
Notes
Notes: svn path=/head/; revision=103907
Diffstat (limited to 'lang')
-rw-r--r--lang/php4/Makefile3
-rw-r--r--lang/php5/Makefile3
-rw-r--r--lang/php53/Makefile3
3 files changed, 6 insertions, 3 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
diff --git a/lang/php5/Makefile b/lang/php5/Makefile
index 14246da88cf2..b2f8a256b1e6 100644
--- a/lang/php5/Makefile
+++ b/lang/php5/Makefile
@@ -622,7 +622,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
diff --git a/lang/php53/Makefile b/lang/php53/Makefile
index 14246da88cf2..b2f8a256b1e6 100644
--- a/lang/php53/Makefile
+++ b/lang/php53/Makefile
@@ -622,7 +622,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