aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-05-07 01:53:24 +0800
committeritetcu <itetcu@FreeBSD.org>2009-05-07 01:53:24 +0800
commit3c6eb702a46ed9050b63a88121ced172dc23de96 (patch)
tree8c54554457f81b1938beacece17ea49c3a713547 /cad
parent47493457c2b2f35868ed19edf3d524ed2c8227c1 (diff)
downloadfreebsd-ports-gnome-3c6eb702a46ed9050b63a88121ced172dc23de96.tar.gz
freebsd-ports-gnome-3c6eb702a46ed9050b63a88121ced172dc23de96.tar.zst
freebsd-ports-gnome-3c6eb702a46ed9050b63a88121ced172dc23de96.zip
Don't fail if share/qcad can't be removed since it might be used by other ports
Requested by: mr@
Diffstat (limited to 'cad')
-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