diff --git a/x11/kde-applications/marble/Makefile b/x11/kde-applications/marble/Makefile index a1c4422ed9c..6256b38e0ef 100644 --- a/x11/kde-applications/marble/Makefile +++ b/x11/kde-applications/marble/Makefile @@ -1,9 +1,10 @@ -# $OpenBSD: Makefile,v 1.16 2021/01/23 18:10:28 rsadowski Exp $ +# $OpenBSD: Makefile,v 1.17 2021/03/15 15:59:21 rsadowski Exp $ COMMENT = virtual globe and world atlas DISTNAME = marble-${VERSION} PKGNAME = marble-kf5-${VERSION} CATEGORIES = geo +REVISION = 0 HOMEPAGE = https://marble.kde.org/ @@ -74,6 +75,11 @@ CONFIGURE_ARGS += -DCMAKE_DISABLE_FIND_PACKAGE_libwlocate=ON \ TEST_IS_INTERACTIVE = X11 +SUBST_VARS += LIBmarblewidget-qt5_VERSION + +pre-configure: + ${SUBST_CMD} ${WRKSRC}/src/lib/marble/CMakeLists.txt + post-extract: rm ${WRKSRC}/data/mwdbii/{PISLAND.PNT,PLAKE.PNT}.orig diff --git a/x11/kde-applications/marble/patches/patch-src_lib_marble_CMakeLists_txt b/x11/kde-applications/marble/patches/patch-src_lib_marble_CMakeLists_txt index e4f36a1598f..d0119c847fd 100644 --- a/x11/kde-applications/marble/patches/patch-src_lib_marble_CMakeLists_txt +++ b/x11/kde-applications/marble/patches/patch-src_lib_marble_CMakeLists_txt @@ -1,4 +1,4 @@ -$OpenBSD: patch-src_lib_marble_CMakeLists_txt,v 1.1.1.1 2018/11/21 06:50:04 rsadowski Exp $ +$OpenBSD: patch-src_lib_marble_CMakeLists_txt,v 1.2 2021/03/15 15:59:21 rsadowski Exp $ Index: src/lib/marble/CMakeLists.txt --- src/lib/marble/CMakeLists.txt.orig @@ -19,3 +19,13 @@ Index: src/lib/marble/CMakeLists.txt endif() CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config-phonon.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-phonon.h) +@@ -437,8 +438,7 @@ set_target_properties(marblewidget PROPERTIES + + if (NOT (CMAKE_SYSTEM_NAME STREQUAL Android)) + set_target_properties(marblewidget PROPERTIES +- VERSION ${MARBLE_LIB_VERSION} +- SOVERSION ${MARBLE_ABI_VERSION} ++ VERSION ${LIBmarblewidget-qt5_VERSION} + ) + endif() +