17e39f419d
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.
26 lines
608 B
Makefile
26 lines
608 B
Makefile
# $NetBSD: buildlink3.mk,v 1.3 2018/01/07 13:04:25 rillig Exp $
|
|
|
|
#
|
|
# For linking use LDFLAGS.vdpau variable
|
|
#
|
|
|
|
# Check whether VDPAU is available on this platform
|
|
.include "../../multimedia/libvdpau/available.mk"
|
|
.if ${VDPAU_AVAILABLE} == "yes"
|
|
|
|
BUILDLINK_TREE+= libvdpau
|
|
|
|
. if !defined(LIBVDPAU_BUILDLINK3_MK)
|
|
LIBVDPAU_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.libvdpau+= libvdpau>=0.3
|
|
BUILDLINK_PKGSRCDIR.libvdpau?= ../../multimedia/libvdpau
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
. endif # LIBVDPAU_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -libvdpau
|
|
|
|
LDFLAGS.vdpau= -lvdpau
|
|
|
|
.endif # Linux, FreeBSD, SunOS...
|