From owner-freebsd-ports Mon Jul 13 01:50:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA01213 for freebsd-ports-outgoing; Mon, 13 Jul 1998 01:50:29 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA01203 for ; Mon, 13 Jul 1998 01:50:28 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id BAA05665; Mon, 13 Jul 1998 01:50:01 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA00460; Mon, 13 Jul 1998 01:42:51 -0700 (PDT) (envelope-from nobody) Message-Id: <199807130842.BAA00460@hub.freebsd.org> Date: Mon, 13 Jul 1998 01:42:51 -0700 (PDT) From: mac@st.rim.or.jp To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: ports/7268: MASTER_SITE_OVERRIDE works more better Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7268 >Category: ports >Synopsis: MASTER_SITE_OVERRIDE works more better >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 13 01:50:01 PDT 1998 >Last-Modified: >Originator: Masahide NODA >Organization: >Release: FreeBSD-2.2-STABLE >Environment: FreeBSD daemon.pssys.flab.fujitsu.co.jp 2.2.6-STABLE FreeBSD 2.2.6-STABLE #0: Fri Jul 10 18:36:33 JST 1998 mac@daemon.pssys.flab.fujitsu.co.jp:/usr1/src/sys/compile/DAEMON i386 >Description: (Sorry I am Japanese and my english is poor) I set MASTER_SITE_OVERRIDE environment variable as setenv MASTER_SITE_OVERRIDE ftp://ftp-site/pub/FreeBSD/distfiles in my .cshrc. When I make fetch in ports directory using DIST_SUBDIR, fetch the file ${MASTER_SITE_OVERRIDE}/${DISTFILES} and fail it. The true file is ${MASTER_SITE_OVERRIDE}/${DIST_SUBDIR}/${DISTFILES} Ofcouese, I know that setting this variable in /etc/make.conf as MASTER_SITE_OVERRIDE=ftp://ftp-site/pub/FreeBSD/distfiles/${DIST_SUBDIR} is work well, but I think both methods work well. :) Sorry my borken English. Thank you. >How-To-Repeat: % make fetch MASTER_SITE_OVERRIDE=ftp://ftp-site/pub/FreeBSD/distfiles/ in some ports directory using DIST_SUBDIR >Fix: apply this patch --- bsd.port.mk.org Mon Jul 13 13:59:04 1998 +++ bsd.port.mk Mon Jul 13 13:59:42 1998 @@ -615,8 +615,8 @@ MASTER_SITES+= ${MASTER_SITE_BACKUP} PATCH_SITES+= ${MASTER_SITE_BACKUP} .else -MASTER_SITES:= ${MASTER_SITE_OVERRIDE} ${MASTER_SITES} -PATCH_SITES:= ${MASTER_SITE_OVERRIDE} ${PATCH_SITES} +MASTER_SITES:= ${MASTER_SITE_OVERRIDE}/${DIST_SUBDIR}/ ${MASTER_SITES} +PATCH_SITES:= ${MASTER_SITE_OVERRIDE}/${DIST_SUBDIR}/ ${PATCH_SITES} .endif # Search CDROM first if mounted, symlink instead of copy if >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message