diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-12-03 18:04:39 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-12-03 18:04:39 +0000 |
commit | b69c79b36a01aeff725add9bd0f158ffabec9243 (patch) | |
tree | 0572d11720e6ee9c164613c3ffb094b711ec5560 /Mk | |
parent | - add check sysvipc (diff) |
- Skip versions for which requested component is not available. Fixes ports
that define
USE_WX= 2.4+
WX_COMPS= python
Notes
Notes:
svn path=/head/; revision=178709
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.wx.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Mk/bsd.wx.mk b/Mk/bsd.wx.mk index 842ab999310f..8c010737eadd 100644 --- a/Mk/bsd.wx.mk +++ b/Mk/bsd.wx.mk @@ -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_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. @@ -386,6 +394,28 @@ _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 + + # # Choose final version. # |