aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cad/qcad-partslib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cad/qcad-partslib/Makefile b/cad/qcad-partslib/Makefile
index b1fde968794e..5eeff6274bec 100644
--- a/cad/qcad-partslib/Makefile
+++ b/cad/qcad-partslib/Makefile
@@ -38,6 +38,6 @@ do-install:
print "@dirrm ${DATADIR}/" d |"sort -r" \
}' >> ${TMPPLIST}
@${ECHO_CMD} '@dirrm ${DATADIR}' >> ${TMPPLIST}
- @${ECHO_CMD} '@unexec rmdir %D/${DATADIR:H}' >> ${TMPPLIST}
+ @${ECHO_CMD} '@unexec ${RMDIR} %D/${DATADIR:H} 2> /dev/null || true' >> ${TMPPLIST}
.include <bsd.port.mk>