From nobody@FreeBSD.org  Mon Jun 18 10:44:15 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 85C7B16A46C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Jun 2007 10:44:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 3D66213C48A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Jun 2007 10:44:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l5IAiFUJ093113
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Jun 2007 10:44:15 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l5IAiF3U093112;
	Mon, 18 Jun 2007 10:44:15 GMT
	(envelope-from nobody)
Message-Id: <200706181044.l5IAiF3U093112@www.freebsd.org>
Date: Mon, 18 Jun 2007 10:44:15 GMT
From: Alex Dupre <ale@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: It's impossible to use csup for 'src' and portsnap for 'ports' via 'make update'
X-Send-Pr-Version: www-3.0

>Number:         113819
>Category:       ports
>Synopsis:       It's impossible to use csup for 'src' and portsnap for 'ports' via 'make update'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 18 10:50:09 GMT 2007
>Closed-Date:    Thu Sep 27 05:36:56 GMT 2007
>Last-Modified:  Thu Sep 27 05:40:01 GMT 2007
>Originator:     Alex Dupre
>Release:        FreeBSD 6.x
>Organization:
>Environment:
>Description:
ports/Makefile commit 1.102 broke the use of portsnap to update ports via 'make
update', when SUP_UPDATE is set for updating src. The correct fix is in the
attached patch, that removes a (now obsolete and bogus) check introduced in
rev. 1.61.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/Makefile,v
retrieving revision 1.102
diff -u -r1.102 Makefile
--- Makefile	24 May 2007 23:58:29 -0000	1.102
+++ Makefile	18 Jun 2007 10:35:39 -0000
@@ -163,9 +163,6 @@
 	@echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT}
 	@echo "--------------------------------------------------------------"
 	cd ${.CURDIR}; ${CVS} -R -q update -A -P -d -I!
-.elif defined(SUP_UPDATE) && !defined(PORTSSUPFILE)
-	@${ECHO_MSG} "Error: Please define PORTSSUPFILE before doing make update."
-	@exit 1
 .else
 	@echo "--------------------------------------------------------------"
 	@echo ">>> Running ${PORTSNAP}"


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: ale 
Responsible-Changed-When: Mon Jun 18 10:50:19 UTC 2007 
Responsible-Changed-Why:  
portmgr responsability. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113819 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Sep 27 05:30:18 UTC 2007 
State-Changed-Why:  
pav agrees that the anti-foot-shooting measure is now obsolete. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113819 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/113819: commit references a PR
Date: Thu, 27 Sep 2007 05:36:31 +0000 (UTC)

 linimon     2007-09-27 05:36:26 UTC
 
   FreeBSD ports repository
 
   Modified files:
     .                    Makefile 
   Log:
   Remove obsolete anti-foot-shooting measure that tried to force you
   to use csup for both ports and src.  It should be possible to use csup
   for src and portsnap for ports.
   
   If you define SUP_UPDATE without PORTSSUPFILE defined, you'll get
   portsnap by default now.
   
   PR:             ports/113819
   Submitted by:   ale
   Requested by:   many
   Hat:            portmgr
   
   Revision  Changes    Path
   1.103     +0 -3      ports/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
