Use modern LIB_DEPENDS

This commit is contained in:
Baptiste Daroussin 2014-03-24 09:45:52 +00:00
parent 5357c503bd
commit 8930deab79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348927

View file

@ -563,7 +563,7 @@ _WX_DEP_TYPE= ${comp:C/.+_([[:alpha:]]+)$/\1/}
. for comp_part in ${_WX_COMP}
. if ${_WX_DEP_TYPE} == "lib"
. if defined(_WX_LIB_${_WX_COMP}_${_WX_VER})
LIB_DEPENDS+= ${_WX_LIB_${comp_part}_${_WX_VER}}:${PORTSDIR}/${_WX_PORT_${comp_part}_${_WX_VER}}
LIB_DEPENDS+= lib${_WX_LIB_${comp_part}_${_WX_VER}}.so:${PORTSDIR}/${_WX_PORT_${comp_part}_${_WX_VER}}
. else
BUILD_DEPENDS+= ${_WX_FILE_${comp_part}_${_WX_VER}}:${PORTSDIR}/${_WX_PORT_${comp_part}_${_WX_VER}}
RUN_DEPENDS+= ${_WX_FILE_${comp_part}_${_WX_VER}}:${PORTSDIR}/${_WX_PORT_${comp_part}_${_WX_VER}}