From 6ec5bdce73ab23b03fcd0e7fcac79552df77e885 Mon Sep 17 00:00:00 2001 From: lioux Date: Tue, 22 Nov 2005 02:16:24 +0000 Subject: Fix build on ${OSVERSION} >= 504100 --- multimedia/ffmpeg-devel/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'multimedia/ffmpeg-devel') diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile index f237bc30a959..63fabafe8d4f 100644 --- a/multimedia/ffmpeg-devel/Makefile +++ b/multimedia/ffmpeg-devel/Makefile @@ -544,6 +544,10 @@ post-patch: .endif post-configure: +# FreeBSD 5.4-STABLE and later have lrintf() +.if ${OSVERSION} >= 504100 + @${ECHO_CMD} '#define HAVE_LRINTF' >> ${WRKSRC}/config.h +.endif .ifdef(WITH_DTS) @${REINPLACE_CMD} -E \ -e 's|-ldts|${LOCALBASE}/lib/libdts.a|' \ -- cgit