diff options
author | joe <joe@FreeBSD.org> | 2000-08-13 12:36:40 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2000-08-13 12:36:40 +0000 |
commit | e7eabf2bfcad3e1c025a11481a84210c277606c5 (patch) | |
tree | 7cda02c5c03f6d7b4f7e16bcced2df1ba06d934d | |
parent | 618f3c73bcd046609a46f358c78c2c358729c66b (diff) | |
download | FreeBSD-src-e7eabf2bfcad3e1c025a11481a84210c277606c5.zip FreeBSD-src-e7eabf2bfcad3e1c025a11481a84210c277606c5.tar.gz |
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.
-rw-r--r-- | Makefile.inc1 | 3 | ||||
-rw-r--r-- | etc/defaults/make.conf | 1 | ||||
-rw-r--r-- | share/examples/etc/make.conf | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 752bb63..50e6679 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 13a3161..7abd2a4 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 13a3161..7abd2a4 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 |