summaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-04-26 13:18:24 +0000
committerEd Maste <emaste@FreeBSD.org>2018-04-26 13:18:24 +0000
commit27d86a1ca433fbb0607a1b1976b786bb7afa9322 (patch)
treed365e36571c0647e0e3e6a1f950cc51d2a2c37a5 /Makefile.inc1
parentbf18dfa28ebccf42bfceef44db2c07caf2cc5020 (diff)
downloadsrc-test2-27d86a1ca433fbb0607a1b1976b786bb7afa9322.tar.gz
src-test2-27d86a1ca433fbb0607a1b1976b786bb7afa9322.zip
Correct r307825 BOOTSTRAPPING test for unsupported upgrade
__FreeBSD_version has five digits after the major number, but the min versions in the test had an extra 0 (so the test was always false).
Notes
Notes: svn path=/head/; revision=333017
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index cb7dfbbcec00..8b3d3147bb97 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1851,9 +1851,9 @@ legacy: .PHONY
# the version bump in r296219 (from July 29, 2015 -> Feb 29, 2016).
.if ${BOOTSTRAPPING} != 0 && \
${WANT_COMPILER_TYPE} == "clang" && ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 30601
-.if ${BOOTSTRAPPING} > 10000000 && ${BOOTSTRAPPING} < 1002501
+.if ${BOOTSTRAPPING} > 1000000 && ${BOOTSTRAPPING} < 1002501
@echo "ERROR: Source upgrades from stable/10 prior to r286033 are not supported."; false
-.elif ${BOOTSTRAPPING} > 9000000 && ${BOOTSTRAPPING} < 903509
+.elif ${BOOTSTRAPPING} > 900000 && ${BOOTSTRAPPING} < 903509
@echo "ERROR: Source upgrades from stable/9 prior to r286035 are not supported."; false
.endif
.endif