blob: 5fdae830dc40965672822e4408d4b01eb486cd0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $FreeBSD$
#
# Handle dependency on qca
#
# Feature: qca
# Usage: USES=qca
# Valid ARGS none
#
# MAINTAINER: kde@FreeBSD.org
.if ! defined(_INCLUDE_QCA_MK)
_INCLUDE_QCA_MK= yes
. if !empty(qca_ARGS)
IGNORE+= USES=qca takes no arguments
. endif
_QCA_LIB= libqca-qt5.so
_QCA_DEFAULT_PORT= devel/qca
_QCA_LEGACY_PORT= devel/qca-legacy
. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base
_QCA_CHOSEN_PORT= LEGACY
. else
_QCA_CHOSEN_PORT= DEFAULT
. endif
LIB_DEPENDS+= ${_QCA_LIB}:${_QCA_${_QCA_CHOSEN_PORT}_PORT}
.endif
|