Date: Thu, 3 Nov 2005 23:37:40 +0100 (CET) From: Roman Neuhauser <neuhauser@sigpipe.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/88471: [PATCH] Mk/bsd.port.mk: don't try MASTER_SITE_BACKUP with RESTRICTED ports Message-ID: <20051103223740.0B05F1F87BED@isis.sigpipe.cz> Resent-Message-ID: <200511032240.jA3MeIZE011248@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051103223740.0B05F1F87BED>