summaryrefslogtreecommitdiff
path: root/misc/compat4x
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-06-21 15:34:48 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-06-21 15:34:48 +0000
commit52a6e35ac22040621533ecda5872f66caaa586c7 (patch)
tree927ce00a29e94f933812b1bf8df26d8123977e96 /misc/compat4x
parent- Update to 0.4.0. (diff)
- Remove schg flags before 'make clean', otherwise we can not remove
WRKSRC/var/empty. This only happens on 7.x. PR: ports/112899 Submitted by: Lars Engels <lars.engels at 0x20.net>
Notes
Notes: svn path=/head/; revision=194004
Diffstat (limited to 'misc/compat4x')
-rw-r--r--misc/compat4x/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/compat4x/Makefile b/misc/compat4x/Makefile
index eeab0fa2f4ea..fd46e44e880d 100644
--- a/misc/compat4x/Makefile
+++ b/misc/compat4x/Makefile
@@ -147,4 +147,7 @@ post-install: install-ldconfig-file
.endif
@${CAT} ${PKGMESSAGE}
+pre-clean:
+ @[ -w ${WRKSRC} ] && chflags -R noschg ${WRKSRC} || ${TRUE}
+
.include <bsd.port.post.mk>