From 9bc1d9dbdc269dcc3972b5c622e31b4bab7f5d20 Mon Sep 17 00:00:00 2001 From: itetcu Date: Wed, 6 May 2009 14:51:17 +0000 Subject: Don't fail if share/qcad can't be removed since it might be used by other ports Submitted by: mi@ Approved by: mr@ --- cad/qcad-partslib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cad') 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 -- cgit