ports/112899: [PATCH] misc/compat4x-i386: remove schg flag before cleaning
Lars Engels
lars.engels at 0x20.net
Wed May 23 19:50:06 UTC 2007
>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:
More information about the freebsd-ports-bugs
mailing list