aboutsummaryrefslogtreecommitdiff
path: root/cad/qcad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/qcad/Makefile')
-rw-r--r--cad/qcad/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
index 9c0f058e0656..d85540af804f 100644
--- a/cad/qcad/Makefile
+++ b/cad/qcad/Makefile
@@ -58,7 +58,7 @@ pre-install:
${SED} -e "s:^${WRKSRC}/qcad/${dir}:@dirrm share/qcad/${dir}:g" >> \
${PLIST}
.endfor
- @${ECHO_CMD} '@dirrm share/qcad' >> ${PLIST}
+ @${ECHO_CMD} '@unexec ${RMDIR} %D/share/qcad 2> /dev/null || true' >> ${PLIST}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qcad/qcad ${PREFIX}/bin/qcad