diff --git a/ports/librsvg/portfile.cmake b/ports/librsvg/portfile.cmake index eb9e66e85e..1d1c51cf1e 100644 --- a/ports/librsvg/portfile.cmake +++ b/ports/librsvg/portfile.cmake @@ -30,6 +30,13 @@ vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-librsvg CONFIG_PATH share/unoff vcpkg_fixup_pkgconfig() +if(VCPKG_TARGET_IS_WINDOWS) + file(GLOB_RECURSE pc_files "${CURRENT_PACKAGES_DIR}/*.pc") + foreach(pc_file ${pc_files}) + vcpkg_replace_string("${pc_file}" " -lm" "") + endforeach() +endif() + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") diff --git a/ports/librsvg/vcpkg.json b/ports/librsvg/vcpkg.json index 2dbac501fa..48cbad5076 100644 --- a/ports/librsvg/vcpkg.json +++ b/ports/librsvg/vcpkg.json @@ -1,7 +1,7 @@ { "name": "librsvg", "version": "2.40.20", - "port-version": 8, + "port-version": 9, "description": "A small library to render Scalable Vector Graphics (SVG)", "homepage": "https://gitlab.gnome.org/GNOME/librsvg", "license": "LGPL-2.0-or-later", diff --git a/versions/baseline.json b/versions/baseline.json index 2b7d6b34a4..ccba8aeb67 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4534,7 +4534,7 @@ }, "librsvg": { "baseline": "2.40.20", - "port-version": 8 + "port-version": 9 }, "librsync": { "baseline": "2.3.2", diff --git a/versions/l-/librsvg.json b/versions/l-/librsvg.json index 9e8269f219..77031ecdba 100644 --- a/versions/l-/librsvg.json +++ b/versions/l-/librsvg.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "c75d4ca281d1bba78571abdb035e025ded217c00", + "version": "2.40.20", + "port-version": 9 + }, { "git-tree": "d72d62fa58fa959323e0bda46bcf26991e460289", "version": "2.40.20",