Workaround to build the webpages due the overloaded ftp.freebsd.org:
don't build the packages links if the variable NO_PACKAGES_LINK is set and not empty.
This commit is contained in:
parent
0f83f69e2f
commit
45a53769ce
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=9271
1 changed files with 14 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/en/ports/Makefile,v 1.30 2000/11/07 04:05:21 kuriyama Exp $
|
||||
# $FreeBSD: www/en/ports/Makefile,v 1.31 2001/01/01 12:33:23 kuriyama Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
|
@ -36,6 +36,19 @@ ${INDEX}: ${cvsindex}
|
|||
# main FreeBSD machines
|
||||
hostname!= hostname
|
||||
|
||||
|
||||
#
|
||||
# don't build the packages links if NO_PACKAGES_LINK
|
||||
# is set and not empty.
|
||||
#
|
||||
# XXX: you can set NO_PACKAGES_LINK to your hostname to
|
||||
# test the packages link generation
|
||||
#
|
||||
.if defined(NO_PACKAGES_LINK) && !empty(NO_PACKAGES_LINK)
|
||||
hostname= ${NO_PACKAGES_LINK}
|
||||
.endif
|
||||
|
||||
|
||||
.if defined(NOPORTSCVS)
|
||||
packages.exists:
|
||||
.else
|
||||
|
|
Loading…
Reference in a new issue