diff --git a/Makefile.inc1 b/Makefile.inc1 index 3d792189c6e5..70a6517d83eb 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -83,6 +83,10 @@ CLEANDIR= cleandir .endif CVS?= cvs +CVSFLAGS?= -A -P -d +.if defined(CVSTAG) +CVSFLAGS+= -r ${CVSTAG} +.endif SUP?= /usr/local/bin/cvsup SUPFLAGS?= -g -L 2 -P - .if defined(SUPHOST) @@ -655,7 +659,7 @@ update: @echo "--------------------------------------------------------------" @echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT} @echo "--------------------------------------------------------------" - cd ${.CURDIR}; ${CVS} -R -q update -A -P -d + cd ${.CURDIR}; ${CVS} -R -q update ${CVSFLAGS} .endif #