svn commit: r373200 - head/Mk
Alex Dupre
ale at FreeBSD.org
Mon Nov 24 10:30:57 UTC 2014
Author: ale
Date: Mon Nov 24 10:30:56 2014
New Revision: 373200
URL: https://svnweb.freebsd.org/changeset/ports/373200
QAT: https://qat.redports.org/buildarchive/r373200/
Log:
Remove obsolete @dirrm and similar.
Modified:
head/Mk/bsd.php.mk
Modified: head/Mk/bsd.php.mk
==============================================================================
--- head/Mk/bsd.php.mk Mon Nov 24 10:22:43 2014 (r373199)
+++ head/Mk/bsd.php.mk Mon Nov 24 10:30:56 2014 (r373200)
@@ -211,12 +211,8 @@ add-plist-info: add-plist-phpext
add-plist-phpext:
@${ECHO_CMD} "lib/php/${PHP_EXT_DIR}/${PHP_MODNAME}.so" \
>> ${TMPPLIST}
- @${ECHO_CMD} "@unexec rmdir %D/lib/php/${PHP_EXT_DIR} 2> /dev/null || true" \
- >> ${TMPPLIST}
@${FIND} -P ${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME} ! -type d 2>/dev/null | \
${SED} -ne 's,^${STAGEDIR}${PREFIX}/,,p' >> ${TMPPLIST}
- @${FIND} -P -d ${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME} -type d 2>/dev/null | \
- ${SED} -ne 's,^${STAGEDIR}${PREFIX}/, at dirrm ,p' >> ${TMPPLIST}
@${ECHO_CMD} "@exec echo \#include \\\"ext/${PHP_MODNAME}/config.h\\\" >> %D/include/php/ext/php_config.h" \
>> ${TMPPLIST}
@${ECHO_CMD} "@unexec cp %D/include/php/ext/php_config.h %D/include/php/ext/php_config.h.orig" \
@@ -225,7 +221,7 @@ add-plist-phpext:
>> ${TMPPLIST}
@${ECHO_CMD} "@unexec rm %D/include/php/ext/php_config.h.orig" \
>> ${TMPPLIST}
- @${ECHO_CMD} "@exec mkdir -p %D/etc/php" \
+ @${ECHO_CMD} "@dir etc/php" \
>> ${TMPPLIST}
.if defined(USE_ZENDEXT)
@${ECHO_CMD} "@exec echo zend_extension=%D/lib/php/${PHP_EXT_DIR}/${PHP_MODNAME}.so >> %D/etc/php/extensions.ini" \
@@ -247,8 +243,6 @@ add-plist-phpext:
>> ${TMPPLIST}
@${ECHO_CMD} "@unexec [ -s %D/etc/php/extensions.ini ] || rm %D/etc/php/extensions.ini" \
>> ${TMPPLIST}
- @${ECHO_CMD} "@unexec rmdir %D/etc/php 2> /dev/null || true" \
- >> ${TMPPLIST}
package-message: php-ini
More information about the svn-ports-all
mailing list