aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg-devel
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-11-22 10:16:24 +0800
committerlioux <lioux@FreeBSD.org>2005-11-22 10:16:24 +0800
commit6ec5bdce73ab23b03fcd0e7fcac79552df77e885 (patch)
tree3aa0300a68e3540b93485c9f3d3c51bddfa107f7 /multimedia/ffmpeg-devel
parentca64ba0a8ffb76429a219bcac6ce36eab2a9d6b4 (diff)
downloadfreebsd-ports-graphics-6ec5bdce73ab23b03fcd0e7fcac79552df77e885.tar.gz
freebsd-ports-graphics-6ec5bdce73ab23b03fcd0e7fcac79552df77e885.tar.zst
freebsd-ports-graphics-6ec5bdce73ab23b03fcd0e7fcac79552df77e885.zip
Fix build on ${OSVERSION} >= 504100
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|' \