diff options
author | asami <asami@FreeBSD.org> | 1996-09-23 17:27:59 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-09-23 17:27:59 +0800 |
commit | 16003ff9fd3030d82a840f8570322f15a1d0c6a0 (patch) | |
tree | 5de3c9c7565f1c39dfe01d79479fef82707cbdc3 | |
parent | ab219a392981f88d7a22d8914efad0fecfc7811f (diff) | |
download | freebsd-ports-gnome-16003ff9fd3030d82a840f8570322f15a1d0c6a0.tar.gz freebsd-ports-gnome-16003ff9fd3030d82a840f8570322f15a1d0c6a0.tar.zst freebsd-ports-gnome-16003ff9fd3030d82a840f8570322f15a1d0c6a0.zip |
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.
-rw-r--r-- | Mk/bsd.port.mk | 6 |
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 |