Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2025 08:09:06 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cc66408d05b4 - main - science/openmodelica: Migrate to Qt6
Message-ID:  <202511110809.5AB896Y9081123@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cc66408d05b4967f247b1a54a5c982bd7e52a613

commit cc66408d05b4967f247b1a54a5c982bd7e52a613
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-11-11 08:07:50 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-11-11 08:09:03 +0000

    science/openmodelica: Migrate to Qt6
    
    PR:             290499
    Requested by:   Daniel Engberg <diizzy@FreeBSD.org>
---
 science/openmodelica/Makefile | 11 +++++------
 science/openmodelica/distinfo |  2 +-
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/science/openmodelica/Makefile b/science/openmodelica/Makefile
index bfb448159694..d59982fddd01 100644
--- a/science/openmodelica/Makefile
+++ b/science/openmodelica/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	openmodelica
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.25.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	science cad java
 DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
 
@@ -38,11 +38,9 @@ RUN_DEPENDS=	bash:shells/bash \
 		gmake:devel/gmake
 
 USES=		cmake compiler:c++14-lang iconv fortran gettext-runtime gl \
-		gnome blaslapack localbase:ldflags qt:5 readline pkgconfig \
+		gnome blaslapack localbase:ldflags qt:6 readline pkgconfig \
 		python:build shebangfix java
-USE_QT=		concurrent core declarative gui location network opengl \
-		printsupport svg webchannel webengine widgets xml xmlpatterns \
-		buildtools:build linguisttools:build qmake:build
+USE_QT=		5compat base declarative positioning webchannel webengine svg tools:build
 USE_GL=		gl opengl
 USE_GNOME=	libxml2
 USE_LDCONFIG=	${PREFIX}/lib/omc ${PREFIX}/lib/omc/OMSimulator ${PREFIX}/lib/omc/cpp ${PREFIX}/lib/omc/ffi # https://github.com/OpenModelica/OpenModelica/issues/9925
@@ -66,7 +64,8 @@ GH_TUPLE+=	OpenModelica:OMBootstrapping:04d16f7461e5401321f0f72613daf466ae2f76be
 
 # this should change make program everywhere, but it doesn't,
 # hence the patches in OMCompiler/Compiler/runtime/CMakeLists.txt, OMEdit/OMEditLIB/Simulation/SimulationOutputWidget.cpp
-CMAKE_ARGS=	-DCMAKE_MAKE_PROGRAM=gmake \
+CMAKE_ARGS=	-DOM_QT_MAJOR_VERSION=6 \
+		-DCMAKE_MAKE_PROGRAM=gmake \
 		-DPython_EXECUTABLE=${PYTHON_CMD}
 
 CMAKE_ARGS+=	-DOM_USE_CCACHE:BOOL=${CCACHE_ENABLED:S/yes/ON/:S/no/OFF/} # if refuses to build w/out ccache by default
diff --git a/science/openmodelica/distinfo b/science/openmodelica/distinfo
index 2597c4be9261..37a2ebd2f3ff 100644
--- a/science/openmodelica/distinfo
+++ b/science/openmodelica/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1757658835
+TIMESTAMP = 1762846124
 SHA256 (openmodelica-1.25.4/OpenModelica-OpenModelica-v1.25.4_GH0.tar.gz) = b9d50f8321f4537735d70368b2ca105e35ad118797d71b0107b24eb660387ad4
 SIZE (openmodelica-1.25.4/OpenModelica-OpenModelica-v1.25.4_GH0.tar.gz) = 148278628
 SHA256 (openmodelica-1.25.4/OpenModelica-OMOptim-d53288b_GH0.tar.gz) = d5012951f43e90dce03d7866d221278ee11ddfbdac4db20fe43d93adbc3748e7


home | help

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