aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg-devel
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ffmpeg-devel')
-rw-r--r--multimedia/ffmpeg-devel/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index f237bc30a95..63fabafe8d4 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|' \