diff options
author | rafan <rafan@FreeBSD.org> | 2007-06-21 23:34:48 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-06-21 23:34:48 +0800 |
commit | 84d7c39f8b162a217cb11c84b0cbb64112e57c16 (patch) | |
tree | 3b3e22fd855235e0afbf515d70fdce5345057a46 /misc/compat4x | |
parent | 0c36febe8091a7ad322d4a8fd5133fee41990636 (diff) | |
download | freebsd-ports-gnome-84d7c39f8b162a217cb11c84b0cbb64112e57c16.tar.gz freebsd-ports-gnome-84d7c39f8b162a217cb11c84b0cbb64112e57c16.tar.zst freebsd-ports-gnome-84d7c39f8b162a217cb11c84b0cbb64112e57c16.zip |
- 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>
Diffstat (limited to 'misc/compat4x')
-rw-r--r-- | misc/compat4x/Makefile | 3 |
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> |