aboutsummaryrefslogtreecommitdiffstats
path: root/databases/php-sqlrelay
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2006-01-23 15:04:10 +0800
committerlinimon <linimon@FreeBSD.org>2006-01-23 15:04:10 +0800
commit3b6dedf061c6e56b7c164dfcb80890f7eafd76ba (patch)
tree8938dfe1d642e6f310e73055e165811e4b10b0d0 /databases/php-sqlrelay
parent225fbcc4fe37d05602ca410c041ea9ecb6c6bc55 (diff)
downloadfreebsd-ports-gnome-3b6dedf061c6e56b7c164dfcb80890f7eafd76ba.tar.gz
freebsd-ports-gnome-3b6dedf061c6e56b7c164dfcb80890f7eafd76ba.tar.zst
freebsd-ports-gnome-3b6dedf061c6e56b7c164dfcb80890f7eafd76ba.zip
Revert last commit. It is not possible (yet) to have the dirrmtry usage
in the post-install target. Its usage must preceed generate-plist. This problem needs to be revisited either in a rework of bsd.port.mk or each of these Makefiles. Hat: portmgr Pointy hat: edwin`
Diffstat (limited to 'databases/php-sqlrelay')
-rw-r--r--databases/php-sqlrelay/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/php-sqlrelay/Makefile b/databases/php-sqlrelay/Makefile
index d16cd78cbfbd..ef541abaa9d9 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} "@dirrmtry $$dir" >> ${TMPPLIST}
+ ${ECHO_CMD} "@unexec rmdir %D/$$dir 2>/dev/null || true" >> ${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} "@dirrmtry etc/php" \
+ @${ECHO_CMD} "@unexec rmdir %D/etc/php 2> /dev/null || true" \
>> ${TMPPLIST}
.include <bsd.port.post.mk>