Date: Fri, 3 Jun 2005 01:42:51 -0700 (PDT) From: "Loren M. Lang" <lorenl@alzatex.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/81828: Update port: x11-wm/novawm pre-clean doesn't ignore errors Message-ID: <200506030842.j538gptD035997@fbsd.ddns.alzatex.cc> Resent-Message-ID: <200506030840.j538e12N096987@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506030842.j538gptD035997>