From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 3 22:40:19 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BB3516A41F for ; Thu, 3 Nov 2005 22:40:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 520B243D4C for ; Thu, 3 Nov 2005 22:40:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jA3MeIL3011249 for ; Thu, 3 Nov 2005 22:40:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jA3MeIZE011248; Thu, 3 Nov 2005 22:40:18 GMT (envelope-from gnats) Resent-Date: Thu, 3 Nov 2005 22:40:18 GMT Resent-Message-Id: <200511032240.jA3MeIZE011248@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Roman Neuhauser Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DE1116A41F for ; Thu, 3 Nov 2005 22:37:42 +0000 (GMT) (envelope-from neuhauser@sigpipe.cz) Received: from isis.sigpipe.cz (fw.sigpipe.cz [62.245.70.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 220B343D45 for ; Thu, 3 Nov 2005 22:37:41 +0000 (GMT) (envelope-from neuhauser@sigpipe.cz) Received: by isis.sigpipe.cz (Postfix, from userid 1001) id 0B05F1F87BED; Thu, 3 Nov 2005 23:37:40 +0100 (CET) Message-Id: <20051103223740.0B05F1F87BED@isis.sigpipe.cz> Date: Thu, 3 Nov 2005 23:37:40 +0100 (CET) From: Roman Neuhauser To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/88471: [PATCH] Mk/bsd.port.mk: don't try MASTER_SITE_BACKUP with RESTRICTED ports X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Roman Neuhauser List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 22:40:19 -0000 >Number: 88471 >Category: ports >Synopsis: [PATCH] Mk/bsd.port.mk: don't try MASTER_SITE_BACKUP with RESTRICTED ports >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 03 22:40:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Roman Neuhauser >Release: FreeBSD 4.10-STABLE i386 >Organization: >Environment: >Description: The attached patch prevents make fetch from trying MASTER_SITE_BACKUP with RESTRICTED ports since that's futile by definition. >How-To-Repeat: >Fix: --- Mk::bsd.port.mk,RESTRICTED-MASTER_SITE_BACKUP,0.patch begins here --- Index: Mk/bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.517 diff -u -r1.517 bsd.port.mk --- Mk/bsd.port.mk 15 Sep 2005 12:24:33 -0000 1.517 +++ Mk/bsd.port.mk 3 Nov 2005 22:17:40 -0000 @@ -2387,8 +2387,12 @@ _MASTER_SITE_BACKUP:= # empty .else _MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE} +.if defined(RESTRICTED) +_MASTER_SITE_BACKUP:= # empty +.else _MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP} .endif +.endif # Search CDROM first if mounted, symlink instead of copy if # FETCH_SYMLINK_DISTFILES is set --- Mk::bsd.port.mk,RESTRICTED-MASTER_SITE_BACKUP,0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: