aboutsummaryrefslogtreecommitdiff
path: root/misc/compat5x
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2007-03-26 04:58:06 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2007-03-26 04:58:06 +0000
commita238254750efeca714c46584438a420f7422be7f (patch)
treec17116ef54dfe36dd6d6d4bc3f8d29da3dc9f803 /misc/compat5x
parent40cb317053be669d7141892a64d1d42eb2719001 (diff)
downloadports-a238254750efeca714c46584438a420f7422be7f.tar.gz
ports-a238254750efeca714c46584438a420f7422be7f.zip
Fix "make clean" error.
Notes
Notes: svn path=/head/; revision=188357
Diffstat (limited to 'misc/compat5x')
-rw-r--r--misc/compat5x/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/compat5x/Makefile b/misc/compat5x/Makefile
index c9a6ce2c3a40..dc3d9ff8bdad 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>