Don't make the often-false assumption that CVSROOT is a path. This

removes the now-useless cvsindex variable; it wasn't really necessary,
anyway, since if the file to checkout can't be found, cvs(1) will
fail, and make(1) will follow.
This commit is contained in:
Dima Dorfman 2001-06-14 03:09:56 +00:00
parent abaaf7562d
commit 291c9188bb
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=9596
3 changed files with 5 additions and 11 deletions

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/en/copyright/Makefile,v 1.9 1999/09/19 11:10:34 wosch Exp $
# $FreeBSD: www/en/copyright/Makefile,v 1.10 2000/11/07 04:05:13 kuriyama Exp $
.if exists(../Makefile.conf)
.include "../Makefile.conf"
@ -31,7 +31,7 @@ CLEANFILES+= ${LEGAL}
${LEGAL}: $${PORTSBASE}/${LEGAL_FILE}
cp ${PORTSBASE}/${LEGAL_FILE} ${LEGAL}
.else
${LEGAL}: $${CVSROOT}/${LEGAL_FILE},v
${LEGAL}:
cvs ${CVS_OPT} co -p ${LEGAL_FILE} > ${.TARGET}
.endif

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/en/ports/Makefile,v 1.31 2001/01/01 12:33:23 kuriyama Exp $
# $FreeBSD: www/en/ports/Makefile,v 1.32 2001/04/22 17:44:25 wosch Exp $
.if exists(../Makefile.conf)
.include "../Makefile.conf"
@ -28,7 +28,7 @@ CVS_OPT+= -d ${PORTSCVSROOT}
${INDEX}: $${PORTSBASE}/${PINDEX}
cp ${PORTSBASE}/${PINDEX} ${INDEX}
.else
${INDEX}: ${cvsindex}
${INDEX}:
cvs ${CVS_OPT} co -p ${PINDEX} > ${INDEX}
.endif
@ -49,11 +49,7 @@ hostname= ${NO_PACKAGES_LINK}
.endif
.if defined(NOPORTSCVS)
packages.exists:
.else
packages.exists: ${cvsindex}
.endif
.if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org"
@if sh ${.CURDIR}/packages > ${.TARGET}.temp; then \
mv ${.TARGET}.temp ${.TARGET}; \

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/en/ports/Makefile.inc,v 1.4 2001/01/01 12:33:23 kuriyama Exp $
# $FreeBSD: www/en/ports/Makefile.inc,v 1.5 2001/01/04 22:12:42 wosch Exp $
PORTINDEX= ${PERL} ${.CURDIR}/portindex
INDEX= INDEX
@ -11,7 +11,5 @@ CLEANFILES+= packages.exists.temp packages.exists
CLEANFILES+= ${DOCS}
CLEANFILES+= Makefile.gen
cvsindex= $${CVSROOT}/${PINDEX},v
_ALLINSTALL= packages.exists ${INDEX} categories