pkgsrc/audio/jack/platform.mk

21 lines
504 B
Makefile

# $NetBSD: platform.mk,v 1.1 2021/11/13 10:48:03 nia Exp $
.if !defined(PLATFORM_SUPPORTS_JACK)
. include "../../mk/bsd.fast.prefs.mk"
JACK_PLATFORMS+= Darwin-*-*
JACK_PLATFORMS+= Linux-*-*
.if ${OPSYS} == "NetBSD" && empty(OPSYS_VERSION:M[5-8].*)
PLATFORM_SUPPORTS_JACK= yes
.endif
. for _jack_platform in ${JACK_PLATFORMS}
. if !empty(MACHINE_PLATFORM:M${_jack_platform})
PLATFORM_SUPPORTS_JACK= yes
. endif
. endfor
PLATFORM_SUPPORTS_JACK?= no
.endif # !defined(PLATFORM_SUPPORTS_JACK)