From 52a6e35ac22040621533ecda5872f66caaa586c7 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Thu, 21 Jun 2007 15:34:48 +0000 Subject: - 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 --- misc/compat4x/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'misc/compat4x') 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 -- cgit v1.2.3