aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-06-04 00:46:03 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-06-04 00:46:03 +0000
commit99cdd4b440b77d4a7eebac6eecc337e438354ae9 (patch)
tree5aec73a0422a46d105969414aa6d7d1fe3b8c9ef /x11-wm
parent937b77e48d7bd556759ca06c8bd0922fb349993e (diff)
downloadports-99cdd4b440b77d4a7eebac6eecc337e438354ae9.tar.gz
ports-99cdd4b440b77d4a7eebac6eecc337e438354ae9.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/novawm/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/x11-wm/novawm/Makefile b/x11-wm/novawm/Makefile
index 467315464ea8..c922928a2ba0 100644
--- a/x11-wm/novawm/Makefile
+++ b/x11-wm/novawm/Makefile
@@ -40,7 +40,11 @@ do-install:
.endif
pre-clean:
- @${CHMOD} -R +w ${WRKSRC}/src/xpm/.xvpics
- @${CHMOD} -R +w ${WRKSRC}/.xvpics
+ @-if [ -e ${WRKSRC}/src/xpm/.xvpics ]; then \
+ ${CHMOD} -R +w ${WRKSRC}/src/xpm/.xvpics 2>/dev/null; \
+ fi
+ @-if [ -e ${WRKSRC}/.xvpics ]; then \
+ ${CHMOD} -R +w ${WRKSRC}/.xvpics 2>/dev/null; \
+ fi
.include <bsd.port.mk>