Date: Mon, 3 Nov 1997 10:09:22 -0800 (PST) From: joes@seaport.net To: FreeBSD-gnats-submit@freebsd.org, ports@freebsd.org Subject: no 'update' target in /usr/ports/Makefile Message-ID: <199711031809.KAA18365@shasta.wstein.com>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Joseph Stein >Organization: >Confidential: no >Synopsis: no 'update' target in /usr/ports/Makefile >Severity: non-critical >Priority: medium >Category: ports <[ bin | conf | docs | gnu | i386 | kern | misc | ports ]> >Release: FreeBSD 2.2.5-STABLE i386 >Class: change-request >Environment: >Description: I thought it would be a good time to update my ports tree, and tried to run 'make update' from /usr/ports... It didn't work :) >How-To-Repeat: cd /usr/ports make update >Fix: Note that this will require setting $PORTSSUPFILE, either in /etc/make.conf or in the command line... See next PR. --- /usr/ports/Makefile Sat Oct 4 08:54:31 1997 +++ /home/./joes/Makefile Mon Nov 3 10:04:12 1997 @@ -59,3 +59,23 @@ .else @grep -i ${key} ${.CURDIR}/INDEX | awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9); }' .endif + +# +# update +# +# Update the ports tree, by running sup and/or running cvs to update to the +# latest copy. +# +update: +.if defined(SUP_UPDATE) + @echo "--------------------------------------------------------------" + @echo "Running sup" + @echo "--------------------------------------------------------------" + @${SUP} ${SUPFLAGS} ${PORTSSUPFILE} +.endif +.if defined(CVS_UPDATE) + @echo "--------------------------------------------------------------" + @echo "Updating /usr/ports from cvs repository" ${CVSROOT} + @echo "--------------------------------------------------------------" + cd ${.CURDIR} && cvs -q update -P -d +.endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711031809.KAA18365>