Date: Wed, 18 Jul 2012 13:06:53 GMT From: Alberto Villa <avilla@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/169970: [patch] /usr/ports/Makefile: get feedback from SVN and sync with /usr/src/Makefile Message-ID: <201207181306.q6ID6r2a064896@red.freebsd.org> Resent-Message-ID: <201207181310.q6IDA1r5039700@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169970 >Category: ports >Synopsis: [patch] /usr/ports/Makefile: get feedback from SVN and sync with /usr/src/Makefile >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 Jul 18 13:10:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Alberto Villa >Release: >Organization: >Environment: >Description: Currently, when running `make update` in /usr/ports with a Subversion repository, there is no output from Subversion, and it looks like nothing is happening. >How-To-Repeat: >Fix: The attached patch removes the "-q" from the `svn` command line, which makes it behave like in /usr/src. While here, I also replaced an "else if" with an "elif", and synced CVS and Subversion update messages with the ones in /usr/src. beat@ suggested to test the changes with an exp-run. Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 301095) +++ Makefile (working copy) @@ -168,15 +168,14 @@ @${SUP} ${SUPFLAGS} ${PORTSSUPFILE} .elif defined(CVS_UPDATE) @echo "--------------------------------------------------------------" - @echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT} + @echo ">>> Updating ${.CURDIR} from CVS repository" ${CVSROOT} @echo "--------------------------------------------------------------" cd ${.CURDIR}; ${CVS} -R -q update -A -P -d -I! -.else -.if exists(${.CURDIR}/.svn) +.elif exists(${.CURDIR}/.svn) @echo "--------------------------------------------------------------" - @echo ">>> Updating ${.CURDIR} from svn repository" + @echo ">>> Updating ${.CURDIR} using Subversion" @echo "--------------------------------------------------------------" - cd ${.CURDIR}; ${SVN} -q update + cd ${.CURDIR}; ${SVN} update .else @echo "--------------------------------------------------------------" @echo ">>> Running ${PORTSNAP}" @@ -193,4 +192,3 @@ .endif .endif .endif -.endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207181306.q6ID6r2a064896>