aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-05-06 22:51:17 +0800
committeritetcu <itetcu@FreeBSD.org>2009-05-06 22:51:17 +0800
commit9bc1d9dbdc269dcc3972b5c622e31b4bab7f5d20 (patch)
tree0ed18235ca786b394bd4fb2eba65c237d44e461c /cad
parent8c9d083cdce578e6099a1ca2802bcc7315d1646a (diff)
downloadfreebsd-ports-gnome-9bc1d9dbdc269dcc3972b5c622e31b4bab7f5d20.tar.gz
freebsd-ports-gnome-9bc1d9dbdc269dcc3972b5c622e31b4bab7f5d20.tar.zst
freebsd-ports-gnome-9bc1d9dbdc269dcc3972b5c622e31b4bab7f5d20.zip
Don't fail if share/qcad can't be removed since it might be used by other ports
Submitted by: mi@ Approved by: mr@
Diffstat (limited to 'cad')
-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>