ports/88471: [PATCH] Mk/bsd.port.mk: don't try MASTER_SITE_BACKUP with RESTRICTED ports

Roman Neuhauser neuhauser at sigpipe.cz
Thu Nov 3 22:40:19 UTC 2005


>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:



More information about the freebsd-ports-bugs mailing list