summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-09-23 09:27:59 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-09-23 09:27:59 +0000
commit36986cebadb5c3f45465e5d93559d0906bc2c269 (patch)
tree38a65809eb22feeb184aa3e049d903b20ebd55d8 /Mk
parent- Better support for Epson Stylus Pro. (diff)
Look on the CDROM for patch files too.
Submitted by: max While I'm here, add "${DIST_SUBDIR}/" at end of CDROM pathnames. Also add an empty declaration of PATCH_SITES next to MASTER_SITES to avoid "variable recursive" error.
Notes
Notes: svn path=/head/; revision=3846
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index c5f3539458bb..2ccee9c07a3c 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
-# $Id: bsd.port.mk,v 1.223 1996/08/24 09:28:48 asami Exp $
+# $Id: bsd.port.mk,v 1.224 1996/08/25 21:07:38 wosch Exp $
#
# Please view me with 4 column tabs!
@@ -408,6 +408,7 @@ MASTER_SITE_OVERRIDE= ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR
# Empty declaration to avoid "variable MASTER_SITES recursive" error
MASTER_SITES?=
+PATCH_SITES?=
# I guess we're in the master distribution business! :) As we gain mirror
# sites for distfiles, add them to this list.
.if !defined(MASTER_SITE_OVERRIDE)
@@ -421,7 +422,8 @@ PATCH_SITES:= ${MASTER_SITE_OVERRIDE} ${PATCH_SITES}
# Search CDROM first if mounted, symlink instead of copy if
# FETCH_SYMLINK_DISTFILES is set
.if exists(/cdrom/ports/distfiles)
-MASTER_SITES:= file:/cdrom/ports/distfiles/ ${MASTER_SITES}
+MASTER_SITES:= file:/cdrom/ports/distfiles/${DIST_SUBDIR}/ ${MASTER_SITES}
+PATCH_SITES:= file:/cdrom/ports/distfiles/${DIST_SUBDIR}/ ${PATCH_SITES}
.if defined(FETCH_SYMLINK_DISTFILES)
FETCH_BEFORE_ARGS+= -l
.endif