aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mkvtoolnix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mkvtoolnix/Makefile')
-rw-r--r--multimedia/mkvtoolnix/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/mkvtoolnix/Makefile b/multimedia/mkvtoolnix/Makefile
index b6214590437b..4e7f876731c2 100644
--- a/multimedia/mkvtoolnix/Makefile
+++ b/multimedia/mkvtoolnix/Makefile
@@ -59,8 +59,8 @@ MAKE_ENV+= V=1
.include <bsd.port.options.mk>
-.if ${OSVERSION} < 1000000
post-patch:
+.if ${OSVERSION} < 1000000
@${REINPLACE_CMD} -e 's|std::llround|llround|g' \
${WRKSRC}/src/common/hevc.cpp \
${WRKSRC}/src/common/mpeg4_p10.cpp \
@@ -82,6 +82,8 @@ post-patch:
${WRKSRC}/src/output/p_tta.cpp \
${WRKSRC}/src/output/p_wavpack.cpp
.endif
+ ${REINPLACE_CMD} -e '/LIBS="-lintl/s,-liconv,$$ICONV_LIBS,' \
+ ${WRKSRC}/configure
post-configure-NLS-off:
# https://github.com/mbunkus/mkvtoolnix/issues/1501