avoid aliasing between MASTER_SITES and PATCH_SITES, e.g.,
MASTER_SITES=some_sites PATCH_SITES=${MASTER_SITES} MASTER_SITE_SUBDIR=one_dir PATCH_SITE_SUBDIR=second_dir now works
This commit is contained in:
parent
f35e6f90cf
commit
6e58b8b012
@ -1,6 +1,6 @@
|
||||
#-*- mode: Fundamental; tab-width: 4; -*-
|
||||
# ex:ts=4
|
||||
# $OpenBSD: bsd.port.mk,v 1.56 1998/12/18 12:00:46 form Exp $
|
||||
# $OpenBSD: bsd.port.mk,v 1.57 1998/12/19 16:52:22 espie Exp $
|
||||
#
|
||||
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
||||
# This file is in the public domain.
|
||||
@ -31,7 +31,7 @@ NetBSD_MAINTAINER= agc@netbsd.org
|
||||
# NEED_VERSION: we need at least this version of bsd.port.mk for this
|
||||
# port to build
|
||||
|
||||
FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.56 1998/12/18 12:00:46 form Exp $$
|
||||
FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.57 1998/12/19 16:52:22 espie Exp $$
|
||||
.if defined(NEED_VERSION)
|
||||
VERSION_REVISION=${FULL_REVISION:M[0-9]*.*}
|
||||
|
||||
@ -781,8 +781,9 @@ MASTER_SITES?=
|
||||
PATCH_SITES?=
|
||||
|
||||
# Substitute subdirectory names
|
||||
MASTER_SITES:= ${MASTER_SITES:S/%SUBDIR%/${MASTER_SITE_SUBDIR}/}
|
||||
_MASTER_SITES:= ${MASTER_SITES:S/%SUBDIR%/${MASTER_SITE_SUBDIR}/}
|
||||
PATCH_SITES:= ${PATCH_SITES:S/%SUBDIR%/${PATCH_SITE_SUBDIR}/}
|
||||
MASTER_SITES:= ${_MASTER_SITES}
|
||||
|
||||
# Two backup master sites, First one at ftp.openbsd.org
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user