astro/marble: add upstream fix for broken library linkage

Fix link definitions with newer CMake versions

    LINK_PUBLIC and LINK_PRIVATE have been deprecated for many years, and
    SailfishOS has a newer enough CMake version now. Marble requires CMake
    3.10 anyway.

    Without this change, cmake 3.24.0 won't find the imported targets when
    Marble is used as a library.

PR:	265652
This commit is contained in:
Tobias C. Berner 2022-09-02 13:59:49 +02:00
parent ae30a3b002
commit 307d7f1d28
2 changed files with 7 additions and 1 deletions

View file

@ -1,7 +1,11 @@
PORTNAME= marble
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= astro education kde kde-applications
PATCH_SITES= https://invent.kde.org/education/marble/-/commit/
PATCHFILES= 677153cc8c1450a8a370fbd1c7505dd7e4ea50fc.diff:-p1
MAINTAINER= kde@FreeBSD.org
COMMENT= Virtual globe and world atlas for KDE

View file

@ -1,3 +1,5 @@
TIMESTAMP = 1660628648
TIMESTAMP = 1662119965
SHA256 (KDE/release-service/22.08.0/marble-22.08.0.tar.xz) = 02a88a77078d4f73ac6870e075b93740c30dd3d9e8ad31201ce29b44d0faab6e
SIZE (KDE/release-service/22.08.0/marble-22.08.0.tar.xz) = 53662988
SHA256 (KDE/release-service/22.08.0/677153cc8c1450a8a370fbd1c7505dd7e4ea50fc.diff) = 97b3e42d94091d0d7ba07f7ec1718e386080e613a8d051ed9872c2f012fa0820
SIZE (KDE/release-service/22.08.0/677153cc8c1450a8a370fbd1c7505dd7e4ea50fc.diff) = 4767