summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-10-27 22:20:43 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-10-27 22:20:43 +0000
commit2078f2a7ae31de5a4474e59c2d813276c225277f (patch)
tree716aaac131781964e20f9ff8e01e743528be5e1e
parent47bdfe9a509578dcb264f7401a2f2aa9c3b19593 (diff)
downloadfreebsd-ports-2078f2a7ae31de5a4474e59c2d813276c225277f.zip
multimedia/vlc: fix package without pkgng
- Fix package without pkgng PR: ports/183356 Submitted by: mandree
-rw-r--r--multimedia/vlc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 01300ead5f4e..6f683ea060ba 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -720,10 +720,10 @@ post-install:
@${FIND} ${STAGEDIR} -type d | ${SED} -e "s,${STAGEDIR},,g" \
| while read line; do \
${GREP} -qw "^$${line}$$" ${WRKDIR}/.mtree || { \
- [ -n "$${line}" ] && ${ECHO_CMD} "@dirrmtry $${line}"; \
+ [ -n "$${line}" ] && ${ECHO_CMD} "@unexec rmdir "%D/$${line}" >/dev/null 2>&1 || :"; \
}; \
done | ${SORT} -r | ${SED} \
- -e "s,${PREFIX}/,,g" | ${GREP} -v "^@dirrmtry share/licenses" >> ${TMPPLIST} || ${TRUE}
+ -e "s,${PREFIX}/,,g" | ${GREP} -v "^@unexec rmdir %D/share/licenses" >> ${TMPPLIST} || ${TRUE}
.include <bsd.port.post.mk>