pkgsrc/multimedia/ffmpeg/buildlink3.mk
dholland 7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +00:00

42 lines
1.1 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.19 2012/05/07 01:53:48 dholland Exp $
BUILDLINK_TREE+= ffmpeg
.if !defined(FFMPEG_BUILDLINK3_MK)
FFMPEG_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ffmpeg+= ffmpeg>=0.6.1
BUILDLINK_ABI_DEPENDS.ffmpeg+= ffmpeg>=20111104.0.7.7nb1
BUILDLINK_PKGSRCDIR.ffmpeg?= ../../multimedia/ffmpeg
pkgbase := ffmpeg
. include "../../mk/pkg-build-options.mk"
.include "../../mk/bsd.fast.prefs.mk"
.if !empty(PKG_BUILD_OPTIONS.ffmpeg:Mtheora)
. include "../../multimedia/libtheora/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg:Mxvid)
. include "../../multimedia/xvidcore/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg:Mx264)
. include "../../multimedia/x264-devel/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg:Mfaac)
. include "../../audio/faac/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg:Mlibvpx)
. include "../../multimedia/libvpx/buildlink3.mk"
.endif
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.endif # FFMPEG_BUILDLINK3_MK
BUILDLINK_TREE+= -ffmpeg