Date: Sun, 27 Sep 1998 10:19:36 -0700 (PDT) From: moro@race.u-tokyo.ac.jp To: freebsd-gnats-submit@FreeBSD.ORG Subject: ports/8063: [PATCH] Add multiple CDROM support to bsd.port.mk Message-ID: <199809271719.KAA17737@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 8063 >Category: ports >Synopsis: [PATCH] Add multiple CDROM support to bsd.port.mk >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: Sun Sep 27 10:20:00 PDT 1998 >Last-Modified: >Originator: MOROHOSHI Akihiko >Organization: EEICE, Faculty of Eng., University of Tokyo >Release: 2.2-stable >Environment: FreeBSD coco.moro.arakawa.tokyo.jp 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Mon Jul 27 09:34:09 JST 1998 moro@coco.moro.arakawa.tokyo.jp:/data/stable/src/sys/compile/COCO i386 >Description: bsd.port.mk checks only one cdrom mountpoint. This patch makes it to check multiple cdroms listed in CD_MOUNTPOINTS for distfiles. I think this is useful today when distfiles overflow single cdrom. >How-To-Repeat: >Fix: # diff -u bsd.port.mk{.orig,} --- bsd.port.mk.orig Mon Aug 24 02:51:38 1998 +++ bsd.port.mk Mon Sep 28 01:58:02 1998 @@ -646,7 +646,8 @@ # Search CDROM first if mounted, symlink instead of copy if # FETCH_SYMLINK_DISTFILES is set -CD_MOUNTPT?= /cdrom +CD_MOUNTPOINTS?= /cdrom +.for CD_MOUNTPT in ${CD_MOUNTPOINTS} .if exists(${CD_MOUNTPT}/ports/distfiles) MASTER_SITES:= file:${CD_MOUNTPT}/ports/distfiles/${DIST_SUBDIR}/ ${MASTER_SITES} PATCH_SITES:= file:${CD_MOUNTPT}/ports/distfiles/${DIST_SUBDIR}/ ${PATCH_SITES} @@ -654,6 +655,7 @@ FETCH_BEFORE_ARGS+= -l .endif .endif +.endfor # Derived names so that they're easily overridable. DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809271719.KAA17737>