diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 05:52:28 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 05:52:28 +0000 |
commit | d568611c3eb334453c4a0352b61f081a623d72f1 (patch) | |
tree | c3c2e5147c98015eb1ada868e403a08ef31d9123 /databases/php-sqlrelay | |
parent | Better fix for the problem on AMD64 and Pentium4 since rev1.4. (diff) |
eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related)
Notes
Notes:
svn path=/head/; revision=154134
Diffstat (limited to 'databases/php-sqlrelay')
-rw-r--r-- | databases/php-sqlrelay/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/php-sqlrelay/Makefile b/databases/php-sqlrelay/Makefile index ef541abaa9d9..d16cd78cbfbd 100644 --- a/databases/php-sqlrelay/Makefile +++ b/databases/php-sqlrelay/Makefile @@ -50,7 +50,7 @@ pre-install: post-install: dir=`php-config --extension-dir | ${SED} 's,^${LOCALBASE}/,,'`; \ ${ECHO_CMD} "$$dir/sql_relay.so" >> ${TMPPLIST}; \ - ${ECHO_CMD} "@unexec rmdir %D/$$dir 2>/dev/null || true" >> ${TMPPLIST} + ${ECHO_CMD} "@dirrmtry $$dir" >> ${TMPPLIST} @${MKDIR} ${PREFIX}/etc/php @${ECHO_CMD} extension=sql_relay.so \ >> ${PREFIX}/etc/php/extensions.ini @@ -64,7 +64,7 @@ post-install: >> ${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" \ + @${ECHO_CMD} "@dirrmtry etc/php" \ >> ${TMPPLIST} .include <bsd.port.post.mk> |