diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-03-08 23:12:48 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-03-08 23:12:48 +0000 |
commit | 16e0b187bd28c3273b4ff5d78e38c395abebe5e1 (patch) | |
tree | 2f4b8a6c1546d25c7bf75485fdd238172082e03a /lang/php5 | |
parent | 8b769bae0516abf27b5e32d0ded73c5c2c724b82 (diff) | |
download | ports-16e0b187bd28c3273b4ff5d78e38c395abebe5e1.tar.gz ports-16e0b187bd28c3273b4ff5d78e38c395abebe5e1.zip |
Notes
Diffstat (limited to 'lang/php5')
-rw-r--r-- | lang/php5/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 3f7c2ae41322..14246da88cf2 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -622,6 +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|^/||} + pre-patch: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php @@ -667,7 +669,7 @@ post-build: @${ECHO_CMD} "PHP_VER=5" > ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_EXT_DIR=${EXT_DIR}" >> ${WRKDIR}/php.conf - @${ECHO_CMD} "PHP_PORT=${.CURDIR}" >> ${WRKDIR}/php.conf + @${ECHO_CMD} "PHP_PORT=\$${PORTSDIR}/${PHP_PORT}" >> ${WRKDIR}/php.conf .if !defined(WITHOUT_CLI) && !defined(WITHOUT_PEAR) @${ECHO_CMD} "PHP_PEAR=yes" >> ${WRKDIR}/php.conf .else |