- Re-add _WX_ILLEGAL_VERS_* handling removed in previous commit

This commit is contained in:
Pav Lucistnik 2006-12-31 14:27:31 +00:00
parent 763c937157
commit f5ae70fdf6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181153

View file

@ -136,6 +136,14 @@ _WX_VERS_ALL= 2.4 2.6 2.8
_WX_VERS_UC_ALL= 2.6 2.8
_WX_VERS_LISTS= WANT_WX_VER WITH_WX_VER _WX_VER_INSTALLED
# _WX_ILLEGAL_VERS_PYTHON - List of versions where wxPython is not available
# _WX_ILLEGAL_VERS_MOZILLA - List of versions where wxmozilla is not available
# _WX_ILLEGAL_VERS_SVG - List of versions where wxsvg is not available
_WX_ILLEGAL_VERS_PYTHON= 2.8
_WX_ILLEGAL_VERS_MOZILLA= 2.6 2.8
_WX_ILLEGAL_VERS_SVG= 2.4 2.8
#
# Variables used to determine what is needed:
# _WX_PORT_comp_ver - Port directory.
@ -417,6 +425,27 @@ _WX_UCL= #
_WX_PYSUFX= -ansi
.endif
# Limit range of possible versions for python, svg and mozila
.for comp in ${WX_COMPS}
_WX_COMP= ${comp}
. if ${_WX_COMP} == "python"
. for excl in ${_WX_ILLEGAL_VERS_PYTHON}
_WX_VER_FINAL:= ${_WX_VER_FINAL:S/${excl}//}
. endfor
. endif
. if ${_WX_COMP} == "mozilla"
. for excl in ${_WX_ILLEGAL_VERS_MOZILLA}
_WX_VER_FINAL:= ${_WX_VER_FINAL:S/${excl}//}
. endfor
. endif
. if ${_WX_COMP} == "svg"
. for excl in ${_WX_ILLEGAL_VERS_SVG}
_WX_VER_FINAL:= ${_WX_VER_FINAL:S/${excl}//}
. endfor
. endif
.endfor
# Remove unusable installed versions.
.for ver in ${_WX_VER_INSTALLED}