diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-03-13 22:35:17 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-03-13 22:35:17 +0000 |
commit | 629fc51df0280bb8c30ed1499e2a27b59d068370 (patch) | |
tree | 9f930c3e91b2b99d9d025ec1a2dc0fefd7ebea24 /lang/php4 | |
parent | - Update to version 2.2.1 (diff) |
Fix PHP_PORT when PORTSDIR is a symlink.
Submitted by: marcus
Reviewed by: pav
Diffstat (limited to 'lang/php4')
-rw-r--r-- | lang/php4/Makefile | 3 |
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 |