aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php53
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-03-14 06:35:17 +0800
committerale <ale@FreeBSD.org>2004-03-14 06:35:17 +0800
commit4e15399069ab951d774fba794397c2370b6e9174 (patch)
tree565db0eda88afb1899dc29299cdb0cf33c7fe0e7 /lang/php53
parentad4c54e3f08b68ed7fd60f7184241a8c505f0d81 (diff)
downloadfreebsd-ports-gnome-4e15399069ab951d774fba794397c2370b6e9174.tar.gz
freebsd-ports-gnome-4e15399069ab951d774fba794397c2370b6e9174.tar.zst
freebsd-ports-gnome-4e15399069ab951d774fba794397c2370b6e9174.zip
Fix PHP_PORT when PORTSDIR is a symlink.
Submitted by: marcus Reviewed by: pav
Diffstat (limited to 'lang/php53')
-rw-r--r--lang/php53/Makefile3
1 files changed, 2 insertions, 1 deletions
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