1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

Fix PHP_PORT when PORTSDIR is a symlink.

Submitted by:	marcus
Reviewed by:	pav
This commit is contained in:
Alex Dupre 2004-03-13 22:35:17 +00:00
parent 0260772f57
commit 629fc51df0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103907
3 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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