ports/81828: Update port: x11-wm/novawm pre-clean doesn't ignore errors
Loren M. Lang
lorenl at alzatex.com
Fri Jun 3 08:40:02 UTC 2005
>Number: 81828
>Category: ports
>Synopsis: Update port: x11-wm/novawm pre-clean doesn't ignore errors
>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: Fri Jun 03 08:40:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Loren M. Lang
>Release: FreeBSD 5.4-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD fbsd.ddns.alzatex.cc 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #1: Tue May 31 21:55:45 PDT 2005 root at fbsd.alzatex.cc:/usr/obj/usr/src/sys/IPSEC-NG i386
>Description:
The pre-clean target in the port's Makefile doesn't ignore errors
so it can fail to clean if it's only partially unpacked or not
unpacked at all.
>How-To-Repeat:
Run make clean on an already clean port and it will fail.
>Fix:
--- Makefile.orig Fri Jun 3 00:15:02 2005
+++ Makefile Fri Jun 3 01:40:39 2005
@@ -40,7 +40,11 @@
.endif
pre-clean:
- @${CHMOD} -R +w ${WRKSRC}/src/xpm/.xvpics
- @${CHMOD} -R +w ${WRKSRC}/.xvpics
+ @-if [ -e ${WRKSRC}/src/xpm/.xvpics ]; then \
+ ${CHMOD} -R +w ${WRKSRC}/src/xpm/.xvpics 2>/dev/null; \
+ fi
+ @-if [ -e ${WRKSRC}/.xvpics ]; then \
+ ${CHMOD} -R +w ${WRKSRC}/.xvpics 2>/dev/null; \
+ fi
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list