Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/bsd.wx.mk
Show First 20 Lines • Show All 469 Lines • ▼ Show 20 Lines | |||||
.for comp in ${_WX_COMPS_FINAL} | .for comp in ${_WX_COMPS_FINAL} | ||||
_WX_COMP= ${comp:C/_([[:alpha:]]+)$//} | _WX_COMP= ${comp:C/_([[:alpha:]]+)$//} | ||||
_WX_DEP_TYPE= ${comp:C/.+_([[:alpha:]]+)$/\1/} | _WX_DEP_TYPE= ${comp:C/.+_([[:alpha:]]+)$/\1/} | ||||
# XXX Need a .for loop here so the variable is expanded before the assignment. | # XXX Need a .for loop here so the variable is expanded before the assignment. | ||||
. for comp_part in ${_WX_COMP} | . for comp_part in ${_WX_COMP} | ||||
. if ${_WX_DEP_TYPE} == "lib" | . if ${_WX_DEP_TYPE} == "lib" | ||||
. if defined(_WX_LIB_${_WX_COMP}_${_WX_VER}) | . if defined(_WX_LIB_${_WX_COMP}_${_WX_VER}) | ||||
LIB_DEPENDS+= lib${_WX_LIB_${comp_part}_${_WX_VER}}.so:${PORTSDIR}/${_WX_PORT_${comp_part}_${_WX_VER}} | LIB_DEPENDS+= lib${_WX_LIB_${comp_part}_${_WX_VER}}.so:${_WX_PORT_${comp_part}_${_WX_VER}} | ||||
. else | . else | ||||
BUILD_DEPENDS+= ${_WX_FILE_${comp_part}_${_WX_VER}}:${PORTSDIR}/${_WX_PORT_${comp_part}_${_WX_VER}} | BUILD_DEPENDS+= ${_WX_FILE_${comp_part}_${_WX_VER}}:${_WX_PORT_${comp_part}_${_WX_VER}} | ||||
RUN_DEPENDS+= ${_WX_FILE_${comp_part}_${_WX_VER}}:${PORTSDIR}/${_WX_PORT_${comp_part}_${_WX_VER}} | RUN_DEPENDS+= ${_WX_FILE_${comp_part}_${_WX_VER}}:${_WX_PORT_${comp_part}_${_WX_VER}} | ||||
. endif | . endif | ||||
. else | . else | ||||
${_WX_DEP_TYPE:tu}_DEPENDS+= ${_WX_FILE_${comp_part}_${_WX_VER}}:${PORTSDIR}/${_WX_PORT_${comp_part}_${_WX_VER}} | ${_WX_DEP_TYPE:tu}_DEPENDS+= ${_WX_FILE_${comp_part}_${_WX_VER}}:${_WX_PORT_${comp_part}_${_WX_VER}} | ||||
. endif | . endif | ||||
. endfor | . endfor | ||||
.endfor | .endfor | ||||
# | # | ||||
# Set build related variables. | # Set build related variables. | ||||
# | # | ||||
Show All 15 Lines |