Date: Tue, 7 May 2013 01:24:16 GMT From: Eitan Adler <lists@eitanadler.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/178381: remove CVS and csup from Makefile Message-ID: <201305070124.r471OG4o034454@oldred.FreeBSD.org> Resent-Message-ID: <201305070130.r471U2sh001901@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 178381 >Category: misc >Synopsis: remove CVS and csup from Makefile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 07 01:30:02 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Eitan Adler >Release: >Organization: >Environment: >Description: Makefile and various b.*.m files still reference CVS. Note: I only tested svn update w.r.t. the Makefile change >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 316637) +++ Makefile (working copy) @@ -122,13 +122,12 @@ ${INDEXDIR}/${INDEXFILE}: echo "Before reporting this error, verify that you are running a supported"; \ echo "version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you"; \ echo "have a complete and up-to-date ports collection. (INDEX builds are"; \ - echo "not supported with partial or out-of-date ports collections -- in"; \ - echo "particular, if you are using cvsup, you must cvsup the \"ports-all\""; \ - echo "collection, and have no \"refuse\" files.) If that is the case, then"; \ + echo "not supported with partial or out-of-date ports collections."; \ + echo "If that is the case, then"; \ echo "report the failure to ports@FreeBSD.org together with relevant"; \ echo "details of your ports configuration (including FreeBSD version,"; \ echo "your architecture, your environment, and your /etc/make.conf"; \ - echo "settings, especially compiler flags and WITH/WITHOUT settings)."; \ + echo "settings, especially compiler flags and OPTIONS_SET/UNSET settings)."; \ echo; \ echo "Note: the latest pre-generated version of INDEX may be fetched"; \ echo "automatically with \"make fetchindex\"."; \ @@ -151,29 +150,14 @@ ${INDEXDIR}/${INDEXFILE}: print-index: ${INDEXDIR}/${INDEXFILE} @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\nE-deps:\t%s\nP-deps:\t%s\nF-deps:\t%s\nWWW:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$11, $$12, $$13, $$10); }' < ${INDEXDIR}/${INDEXFILE} -CVS?= cvs GIT?= git SVN?= svn -SUP?= csup PORTSNAP?= portsnap PORTSNAP_FLAGS?= -p ${.CURDIR} -.if defined(SUPHOST) -SUPFLAGS+= -h ${SUPHOST} -.endif .if !target(update) update: -.if defined(SUP_UPDATE) && defined(PORTSSUPFILE) +.if exists(${.CURDIR}/.svn) @echo "--------------------------------------------------------------" - @echo ">>> Running ${SUP}" - @echo "--------------------------------------------------------------" - @${SUP} ${SUPFLAGS} ${PORTSSUPFILE} -.elif defined(CVS_UPDATE) - @echo "--------------------------------------------------------------" - @echo ">>> Updating ${.CURDIR} from CVS repository" ${CVSROOT} - @echo "--------------------------------------------------------------" - cd ${.CURDIR}; ${CVS} -R -q update -A -P -d -I! -.elif exists(${.CURDIR}/.svn) - @echo "--------------------------------------------------------------" @echo ">>> Updating ${.CURDIR} using Subversion" @echo "--------------------------------------------------------------" cd ${.CURDIR}; ${SVN} update @@ -190,8 +174,6 @@ update: @echo "Error: 'make update' uses portsnap(8) by default and" @echo "needs ${PORTSDIR} to be created by portsnap on its first run." @echo "Please run 'portsnap fetch extract' first." - @echo "You can also define SUP_UPDATE and PORTSSUPFILE to use csup(1)" - @echo "or CVS_UPDATE to use cvs(1) for updating." .else @${PORTSNAP} ${PORTSNAP_FLAGS} fetch @${PORTSNAP} ${PORTSNAP_FLAGS} update Index: Mk/bsd.drupal.mk =================================================================== --- Mk/bsd.drupal.mk (revision 316637) +++ Mk/bsd.drupal.mk (working copy) @@ -7,7 +7,7 @@ # # For FreeBSD committers: # Please send all suggested changes to the maintainer instead of committing -# them to CVS yourself. +# them to SVN yourself. bsd_drupal_mk_MAINTAINER= miwi@FreeBSD.org Index: Mk/bsd.fpc.mk =================================================================== --- Mk/bsd.fpc.mk (revision 316637) +++ Mk/bsd.fpc.mk (working copy) @@ -7,7 +7,7 @@ # # For FreeBSD committers: # Please send all suggested changes to the maintainer instead of committing -# them to CVS yourself. +# them to SVN yourself. # # USE_FPC - If you set this to "yes", this automatically will install # free pascal compiler, if you need install additional fpc Index: Mk/bsd.java.mk =================================================================== --- Mk/bsd.java.mk (revision 316637) +++ Mk/bsd.java.mk (working copy) @@ -7,7 +7,7 @@ # # For FreeBSD committers: # Please send all suggested changes to the maintainer instead of committing -# them to CVS yourself. +# them to svn yourself. # # $FreeBSD$ # Index: Mk/bsd.perl.mk =================================================================== --- Mk/bsd.perl.mk (revision 316637) +++ Mk/bsd.perl.mk (working copy) @@ -9,7 +9,7 @@ # # For FreeBSD committers: # Please send all suggested changes to the maintainer instead of committing -# them to CVS yourself. +# them to SVN yourself. # # PERL5 - Set to full path of perl5, either in the system or # installed from a port. Index: Mk/bsd.php.mk =================================================================== --- Mk/bsd.php.mk (revision 316637) +++ Mk/bsd.php.mk (working copy) @@ -5,7 +5,7 @@ # # For FreeBSD committers: # Please send all suggested changes to the maintainer instead of committing -# them to CVS yourself. +# them to SVN yourself. # # $FreeBSD$ # >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305070124.r471OG4o034454>