Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2015 10:38:21 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r401926 - head/multimedia/mkvtoolnix
Message-ID:  <201511191038.tAJAcLSL002648@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Thu Nov 19 10:38:21 2015
New Revision: 401926
URL: https://svnweb.freebsd.org/changeset/ports/401926

Log:
  multimedia/mkvtoolnix:
  - Fix gettext detection. Building the port with NLS and without QT5 option
    reveals the problem.
  
  Reported by:	olgeni

Modified:
  head/multimedia/mkvtoolnix/Makefile

Modified: head/multimedia/mkvtoolnix/Makefile
==============================================================================
--- head/multimedia/mkvtoolnix/Makefile	Thu Nov 19 10:36:02 2015	(r401925)
+++ head/multimedia/mkvtoolnix/Makefile	Thu Nov 19 10:38:21 2015	(r401926)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511191038.tAJAcLSL002648>