aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2007-03-26 12:58:06 +0800
committernork <nork@FreeBSD.org>2007-03-26 12:58:06 +0800
commit8d542caafba865c83dbcb430ee49c9e0fc57df59 (patch)
treef6d6809fe4dd0eaff95259757fe767d9852c40a7 /misc
parent55d2e8810e65b6b0d9538497184f84c2750437c8 (diff)
downloadfreebsd-ports-graphics-8d542caafba865c83dbcb430ee49c9e0fc57df59.tar.gz
freebsd-ports-graphics-8d542caafba865c83dbcb430ee49c9e0fc57df59.tar.zst
freebsd-ports-graphics-8d542caafba865c83dbcb430ee49c9e0fc57df59.zip
Fix "make clean" error.
Diffstat (limited to 'misc')
-rw-r--r--misc/compat5x/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/compat5x/Makefile b/misc/compat5x/Makefile
index c9a6ce2c3a4..dc3d9ff8bda 100644
--- a/misc/compat5x/Makefile
+++ b/misc/compat5x/Makefile
@@ -85,4 +85,7 @@ post-install: install-ldconfig-file
.endif
@${CAT} ${PKGMESSAGE}
+pre-clean:
+ @[ -w ${WRKSRC} ] && chflags -R noschg ${WRKSRC} || ${TRUE}
+
.include <bsd.port.post.mk>