Add a new variable CVS_READONLY for read-only check outs.
The default value is YES. If your cvs command does not support read-only check outs (global cvs option -R), set CVS_READONLY to an empty value, e.g.: $ make CVS_READONLY="" all
This commit is contained in:
parent
ec92d22dd1
commit
01f01019ea
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=5665
1 changed files with 10 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD$
|
||||
# $FreeBSD: www/en/ports/Makefile,v 1.25 1999/09/06 07:02:48 peter Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
|
@ -7,6 +7,13 @@
|
|||
.include "Makefile.inc"
|
||||
.endif
|
||||
|
||||
CVS_READONLY?= YES
|
||||
CVS_OPT+= -Q
|
||||
.if !empty(CVS_READONLY)
|
||||
CVS_OPT+= -R
|
||||
.endif
|
||||
|
||||
|
||||
|
||||
.if defined(NOPORTSCVS)
|
||||
${INDEX}: $${PORTSBASE}/${PINDEX}
|
||||
|
@ -17,10 +24,10 @@ ${Y2K}: $${PORTSBASE}/${PY2K}
|
|||
|
||||
.else
|
||||
${INDEX}: ${cvsindex}
|
||||
cvs -QR co -p ${PINDEX} > ${INDEX}
|
||||
cvs ${CVS_OPT} co -p ${PINDEX} > ${INDEX}
|
||||
|
||||
${Y2K}: ${cvsy2k}
|
||||
cvs -QR co -p ${PY2K} > ${Y2K}
|
||||
cvs ${CVS_OPT} co -p ${PY2K} > ${Y2K}
|
||||
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue