aboutsummaryrefslogtreecommitdiff
path: root/net/vnc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/vnc/Makefile')
-rw-r--r--net/vnc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/vnc/Makefile b/net/vnc/Makefile
index 04a713fa9f6d..5974fb544eaf 100644
--- a/net/vnc/Makefile
+++ b/net/vnc/Makefile
@@ -113,9 +113,9 @@ pre-install:
@if [ -f ${WRKSRC}/xc/programs/Xserver/vnc/module/vnc.so ]; then \
${ECHO_CMD} @cwd ${X11BASE} >> ${PLIST} ; \
${ECHO_CMD} lib/modules/extensions/vnc.so >> ${PLIST} ; \
- ${ECHO_CMD} "@unexec rmdir %D/lib/modules/extensions 2>/dev/null || true" >> ${PLIST} ; \
- ${ECHO_CMD} "@unexec rmdir %D/lib/modules 2>/dev/null || true" >> ${PLIST} ; \
- ${ECHO_CMD} "@unexec rmdir %D/lib 2>/dev/null || true" >> ${PLIST} ; \
+ ${ECHO_CMD} "@dirrmtry lib/modules/extensions" >> ${PLIST} ; \
+ ${ECHO_CMD} "@dirrmtry lib/modules" >> ${PLIST} ; \
+ ${ECHO_CMD} "@dirrmtry lib" >> ${PLIST} ; \
fi
.endif