1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/Mk/Uses/qca.mk
Mathieu Arnold 5d33e04596
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
2021-04-06 16:27:10 +02:00

30 lines
547 B
Makefile

# 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