Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 1997 20:40:22 +0200 (MET DST)
From:      jhs@freebsd.org
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        me@freebsd.org, gj@freebsd.org, asami@freebsd.org
Subject:   ports/3361: patch for bsd.port.mk
Message-ID:  <199704201840.UAA02676@wall.jhs.no_domain>
Resent-Message-ID: <199704201850.LAA05833@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3361
>Category:       ports
>Synopsis:       Enhancement patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 20 11:50:02 PDT 1997
>Last-Modified:
>Originator:     Julian Stacey jhs@freebsd.org
>Organization:
>Release:        FreeBSD 2.2-RELEASE i386
>Environment:
	-
>Description:
	-
>How-To-Repeat:
	setenv NEARBY_DISTFILES_SITE ftp://my_local_provider.net//bla/distfiles
	make fetch
>Fix:
*** old/src/share/mk/bsd.port.mk	Sun Apr 20 18:10:48 1997
--- new/src/share/mk/bsd.port.mk	Sun Apr 20 20:18:56 1997
***************
*** 525,530 ****
--- 525,539 ----
  PATCH_SITES:=	${MASTER_SITE_OVERRIDE} ${PATCH_SITES}
  .endif
  
+ # If NEARBY_DISTFILES_SITE is set, search nearby Internet site first,
+ # before going further afield. 
+ # Use this to first access a local ftp archive, also use it if you or your
+ # internet access provider pay more for international than local packets.
+ .if defined(NEARBY_DISTFILES_SITE)
+ MASTER_SITES:=	${NEARBY_DISTFILES_SITE}/ ${MASTER_SITES}
+ PATCH_SITES:=	${NEARBY_DISTFILES_SITE}/ ${MASTER_SITES}
+ .endif
+ 
  # Search CDROM first if mounted, symlink instead of copy if
  # FETCH_SYMLINK_DISTFILES is set
  .if exists(/cdrom/ports/distfiles)
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704201840.UAA02676>