aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/novawm
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-06-04 08:46:03 +0800
committerpav <pav@FreeBSD.org>2005-06-04 08:46:03 +0800
commit3a09cd63aa619ee6d5a118e79b971e5385541af7 (patch)
tree68697fe7ceadee59b2078ecd623a8eccd179eba6 /x11-wm/novawm
parente794ddcbdc3dc8dbe8832337c5cb15b2a909c093 (diff)
downloadfreebsd-ports-gnome-3a09cd63aa619ee6d5a118e79b971e5385541af7.tar.gz
freebsd-ports-gnome-3a09cd63aa619ee6d5a118e79b971e5385541af7.tar.zst
freebsd-ports-gnome-3a09cd63aa619ee6d5a118e79b971e5385541af7.zip
- Don't fail make clean when expected files are not present
PR: ports/81828 Submitted by: Loren M. Lang <lorenl@alzatex.com>
Diffstat (limited to 'x11-wm/novawm')
-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>