From 629fc51df0280bb8c30ed1499e2a27b59d068370 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Sat, 13 Mar 2004 22:35:17 +0000 Subject: Fix PHP_PORT when PORTSDIR is a symlink. Submitted by: marcus Reviewed by: pav --- lang/php5/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lang/php5') 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 -- cgit v1.2.3