Index | Thread | Search

From:
Antoine Jacoutot <ajacoutot@bsdfrog.org>
Subject:
mkvtoolnix fails to build
To:
Rafael Sadowski <rsadowski@cvs.openbsd.org>, ports@openbsd.org
Date:
Sat, 02 Nov 2024 08:29:56 +0100

Download raw body.

Thread
This fixes it.
Dunno if it's the right fix.


Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/mkvtoolnix/Makefile,v
diff -u -p -r1.136 Makefile
--- Makefile	31 Oct 2024 07:10:16 -0000	1.136
+++ Makefile	2 Nov 2024 07:27:33 -0000
@@ -63,14 +63,13 @@ AUTOCONF_VERSION= 2.71
 
 CONFIGURE_ARGS=	--disable-optimization \
 		--disable-update-check \
-		--disable-qt6 \
 		--disable-precompiled-headers \
 		--with-boost=${LOCALBASE} \
 		--with-docbook-xsl-root=${LOCALBASE}/share/xsl/docbook \
-		--with-qmake=${MODQT6_QMAKE}
+		--with-qmake6=${MODQT6_QMAKE}
 
 MAKE_ENV+=	V=1
-CPPFLAGS+=	-I${LOCALBASE}/include -I${X11BASE}/include -I${MODQT6_INCDIR}
+CPPFLAGS+=	-I${LOCALBASE}/include -I${X11BASE}/include -I${MODQT6_INCDIR} -I${MODQT6_INCDIR}/QtCore
 LDFLAGS+=	-L${LOCALBASE}/lib -L${X11BASE}/lib -L${MODQT6_LIBDIR}
 
 CONFIGURE_ENV+=	LCONVERT="${LOCALBASE}/lib/qt6/bin/lconvert" \




On Fri, 2024-11-01 at 08:20 +0100, Antoine Jacoutot wrote:
> On Thu, Oct 31, 2024 at 01:10:16AM -0600, Rafael Sadowski wrote:
> > CVSROOT:	/cvs
> > Module name:	ports
> > Changes by:	rsadowski@cvs.openbsd.org	2024/10/31 01:10:16
> > 
> > Modified files:
> > 	multimedia/mkvtoolnix: Makefile distinfo 
> > 	multimedia/mkvtoolnix/patches: patch-Rakefile 
> > 	                               patch-src_mkvtoolnix-gui_jobs_program_runner_cpp 
> > 	multimedia/mkvtoolnix/pkg: PLIST 
> > Added files:
> > 	multimedia/mkvtoolnix/patches: patch-configure 
> > Removed files:
> > 	multimedia/mkvtoolnix/patches: patch-ac_qt5_m4 
> > 
> > Log message:
> > Update mkvtoolnix to 88.0
> 
> 
> checking for ogg_sync_init in -logg... yes
> checking for ogg/ogg.h... yes
> checking for vorbis_synthesis_init in -lvorbis... yes
> checking for vorbis/codec.h... yes
> checking for flac... yes
> checking for FLAC__stream_decoder_skip_single_frame in -lFLAC... yes
> checking for EBML... yes
> checking for MATROSKA... yes
> checking for PUGIXML... yes
> configure: Using the system version of the pugixml library
> checking nlohmann's json-cpp... yes
> configure: Using the system version of nlohmann json-cpp
> checking for utf8.h... no
> configure: Using the internal version of UTF8-CPP
> checking fmt... yes
> checking for ZLIB... yes
> checking for qmake6... using supplied /usr/local/bin/qmake-qt6
> checking for qmake6's version... 6.7.3
> checking for lconvert... /usr/local/lib/qt6/bin/lconvert
> checking for moc... /usr/local/bin/moc-qt6
> checking for rcc... /usr/local/lib/qt6/libexec/rcc
> checking for uic... /usr/local/bin/uic-qt6
> checking for Qt 6... no: could not compile a test program   
> configure: error: The Qt library version >= 6.2.0 is required for building MKVToolNix.
> 
> 

-- 
Antoine