Now that FreeBSD 9.3, 10.1 and 10.2 are no longer supported by so@, remove support for these versions from Mk/* and Mk/Uses/*
Lightly tested with an INDEX-12 build.
Differential D9016
Remove support for FreeBSD < 10.3 rene on Jan 1 2017, 1:25 PM. Authored by Tags None Referenced Files
Details
Now that FreeBSD 9.3, 10.1 and 10.2 are no longer supported by so@, remove support for these versions from Mk/* and Mk/Uses/* Lightly tested with an INDEX-12 build. 'make index' seems OK
Diff Detail
Event Timeline
Comment Actions If you really want to remove support for FreeBSD < 10.3, it also means removing fmake support, for example, the silly .for constructs we had to use. For example, in a loop like this, the _G_TEMP can be removed (and replaced by _group). . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} . if ${_G_TEMP:C/[a-zA-Z0-9_]//g} check-makevars:: @${ECHO_MSG} "The ${_S} MASTER_SITES line has" @${ECHO_MSG} "a group with invalid characters, only use [a-zA-Z0-9_]" @${FALSE} . endif . if ${_G_TEMP} == all || ${_G_TEMP} == ALL || ${_G_TEMP} == default check-makevars:: @${ECHO_MSG} "Makefile error: the words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your MASTER_SITES" @${FALSE} . endif _MASTER_SITES_${_group}+= ${_S:C@^(.*/):[^/:]+$@\1@} . endfor becomes . for _group in ${_S_TEMP:S/,/ /g} . if ${_group:C/[a-zA-Z0-9_]//g} check-makevars:: @${ECHO_MSG} "The ${_S} MASTER_SITES line has" @${ECHO_MSG} "a group with invalid characters, only use [a-zA-Z0-9_]" @${FALSE} . endif . if ${_group} == all || ${_group} == ALL || ${_group} == default check-makevars:: @${ECHO_MSG} "Makefile error: the words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your MASTER_SITES" @${FALSE} . endif _MASTER_SITES_${_group}+= ${_S:C@^(.*/):[^/:]+$@\1@} . endfor Those constructs were necessary because fmake replaced each occurence of the for variable by the value it was currently iterating, whereas newer make created temporary variables holding the value. |