add a bit of glue so that mirror-maker will be able to use the same locks

as the rest of the tree
This commit is contained in:
espie 2008-05-18 11:22:14 +00:00
parent 64652d7c7a
commit 95097113a0
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.57 2008/05/16 18:31:11 espie Exp $
# $OpenBSD: Makefile,v 1.58 2008/05/18 11:22:14 espie Exp $
# $FreeBSD: Makefile,v 1.36 1997/10/04 15:54:31 jkh Exp $
#
@ -109,6 +109,7 @@ mirror-maker:
@mkdir -p ${MIRROR_MK:H}
# Indirection needed for broken OSes that don't grok this exec
@echo "EXEC = exec" >${MIRROR_MK}
@echo "SIMPLE_LOCK = : ">>${MIRROR_MK}
.if !empty(LOCKDIR)
@echo 'LOCKDIR = ${LOCKDIR}' >>${MIRROR_MK}
@echo 'PORTSDIR = ${PORTSDIR}' >>${MIRROR_MK}

View File

@ -1,6 +1,6 @@
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: bsd.port.mk,v 1.939 2008/05/18 10:05:21 espie Exp $
# $OpenBSD: bsd.port.mk,v 1.940 2008/05/18 11:22:14 espie Exp $
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
#
@ -2454,7 +2454,8 @@ _fetch-onefile:
# XXX loop so that M${_F} will work
.for _F in ${_file}
@echo '${_F}: $$F'
@echo -n '\t@MAINTAINER="${MAINTAINER}" '
@echo '\t@lock=$${@F}; $${SIMPLE_LOCK}; \\'
@echo -n '\t MAINTAINER="${MAINTAINER}" '
. if !empty(DIST_SUBDIR)
@echo -n 'DIST_SUBDIR="${DIST_SUBDIR}" '
. endif