Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/qca.mk
Show All 11 Lines | |||||
. if !empty(qca_ARGS) | . if !empty(qca_ARGS) | ||||
IGNORE+= USES=qca takes no arguments | IGNORE+= USES=qca takes no arguments | ||||
. endif | . endif | ||||
_QCA_LIB= libqca-qt5.so | _QCA_LIB= libqca-qt5.so | ||||
_QCA_DEFAULT_PORT= devel/qca | _QCA_DEFAULT_PORT= devel/qca | ||||
_QCA_LEGACY_PORT= devel/qca-legacy | _QCA_LEGACY_PORT= devel/qca-legacy | ||||
. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base | |||||
_QCA_CHOSEN_PORT= LEGACY | |||||
. else | |||||
_QCA_CHOSEN_PORT= DEFAULT | _QCA_CHOSEN_PORT= DEFAULT | ||||
. endif | |||||
adridg: This can be more thorough -- the legacy port `devel/qca-legacy` can be removed, as well as the… | |||||
Done Inline ActionsYes, initially I was more enthusiastic in cleaning this up, but decided leaving the variables in would be more flexible for future updates. rene: Yes, initially I was more enthusiastic in cleaning this up, but decided leaving the variables… | |||||
LIB_DEPENDS+= ${_QCA_LIB}:${_QCA_${_QCA_CHOSEN_PORT}_PORT} | LIB_DEPENDS+= ${_QCA_LIB}:${_QCA_${_QCA_CHOSEN_PORT}_PORT} | ||||
.endif | .endif |
This can be more thorough -- the legacy port devel/qca-legacy can be removed, as well as the variable naming it, here. But that is cleanup kde@ can do afterwards.