From 6fd0f272679ab7502a437dbb995a02b0da201820 Mon Sep 17 00:00:00 2001 From: Josef Karthauser Date: Sun, 13 Aug 2000 12:36:40 +0000 Subject: [PATCH] Define SUPHOST. If this is set a '-h ${SUPHOST}' is added to the SUPFLAGS when a 'make update' is run. This means that the supfile doesn't need to be edited because the -h will override the CHANGE_THIS.FreeBSD.org host. --- Makefile.inc1 | 3 +++ etc/defaults/make.conf | 1 + share/examples/etc/make.conf | 1 + 3 files changed, 5 insertions(+) diff --git a/Makefile.inc1 b/Makefile.inc1 index 752bb6340e99..50e66796ae1c 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -113,6 +113,9 @@ CLEANDIR= cleandir SUP?= cvsup SUPFLAGS?= -g -L 2 -P - +.if defined(SUPHOST) +SUPFLAGS+= -h ${SUPHOST} +.endif MAKEOBJDIRPREFIX?= /usr/obj TARGET_ARCH?= ${MACHINE_ARCH} diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf index 13a3161a78d1..7abd2a4e4185 100644 --- a/etc/defaults/make.conf +++ b/etc/defaults/make.conf @@ -254,6 +254,7 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ # #SUP= /usr/local/bin/cvsup #SUPFLAGS= -g -L 2 +#SUPHOST= cvsup.uk.FreeBSD.org #SUPFILE= /usr/share/examples/cvsup/standard-supfile #SUPFILE1= /usr/share/examples/cvsup/secure-supfile #PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf index 13a3161a78d1..7abd2a4e4185 100644 --- a/share/examples/etc/make.conf +++ b/share/examples/etc/make.conf @@ -254,6 +254,7 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ # #SUP= /usr/local/bin/cvsup #SUPFLAGS= -g -L 2 +#SUPHOST= cvsup.uk.FreeBSD.org #SUPFILE= /usr/share/examples/cvsup/standard-supfile #SUPFILE1= /usr/share/examples/cvsup/secure-supfile #PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile