pkgsrc/audio/libao/buildlink3.mk
rillig 17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00

29 lines
761 B
Makefile

# $NetBSD: buildlink3.mk,v 1.16 2018/01/07 13:03:54 rillig Exp $
BUILDLINK_TREE+= libao
.if !defined(LIBAO_BUILDLINK3_MK)
LIBAO_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libao+= libao>=0.8.4
BUILDLINK_ABI_DEPENDS.libao+= libao>=1.0.0
BUILDLINK_PKGSRCDIR.libao?= ../../audio/libao
.if !defined(_LIBAO_BUILDING_PLUGIN)
. include "../../mk/bsd.fast.prefs.mk"
. if ${OPSYS} != "Darwin" && ${OPSYS} != "Interix" && ${OPSYS} != "SunOS"
_LIBAO_DEFAULT_PLUGIN= oss
. elif ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
_LIBAO_DEFAULT_PLUGIN= sun
. else
_LIBAO_DEFAULT_PLUGIN=
. endif
. if !empty(_LIBAO_DEFAULT_PLUGIN)
DEPENDS+= libao-[a-z]*-[0-9]*:../../audio/libao-${_LIBAO_DEFAULT_PLUGIN}
. endif
.endif
.endif # LIBAO_BUILDLINK3_MK
BUILDLINK_TREE+= -libao