Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2007 21:47:13 +0200 (CEST)
From:      Lars Engels <lars.engels@0x20.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/112899: [PATCH] misc/compat4x-i386: remove schg flag before cleaning
Message-ID:  <200705221947.l4MJlDhD034778@maggie.bsd-geek.de>
Resent-Message-ID: <200705231950.l4NJo5Ul041968@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112899
>Category:       ports
>Synopsis:       [PATCH] misc/compat4x-i386: remove schg flag before cleaning
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 23 19:50:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Lars Engels
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD maggie.bsd-geek.de 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Sat May 19 23:04:43 CEST 2007
>Description:

After 'make clean' in the port's directory deletion of the workdir fails because
work/compat4x/var/empty has schg flag set.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
cd /usr/ports/misc/compat4x && make && make clean
>Fix:

--- compat4x-i386-5.3_9.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/compat4x/Makefile,v
retrieving revision 1.33
diff -u -u -r1.33 Makefile
--- Makefile	15 Aug 2006 00:56:13 -0000	1.33
+++ Makefile	22 May 2007 19:04:07 -0000
@@ -147,4 +147,7 @@
 .endif
 	@${CAT} ${PKGMESSAGE}
 
+pre-clean:
+	@[ -w ${WRKSRC} ] && chflags -R noschg ${WRKSRC} || ${TRUE}
+
 .include <bsd.port.post.mk>
--- compat4x-i386-5.3_9.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705221947.l4MJlDhD034778>