[libxfont] fix single config builds (#42730)

This commit is contained in:
Alexander Neumann 2024-12-16 19:07:18 +01:00 committed by GitHub
parent a09e4e86d8
commit 2892ef50b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 13 additions and 5 deletions

View File

@ -35,10 +35,12 @@ if(VCPKG_TARGET_IS_WINDOWS)
file(READ "${_file}" _contents)
string(REPLACE "-lm" "" _contents "${_contents}")
file(WRITE "${_file}" "${_contents}")
set(_file "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/xfont2.pc")
file(READ "${_file}" _contents)
string(REPLACE "-lm" "" _contents "${_contents}")
file(WRITE "${_file}" "${_contents}")
if(NOT VCPKG_BUILD_TYPE)
set(_file "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/xfont2.pc")
file(READ "${_file}" _contents)
string(REPLACE "-lm" "" _contents "${_contents}")
file(WRITE "${_file}" "${_contents}")
endif()
endif()
vcpkg_fixup_pkgconfig()

View File

@ -1,6 +1,7 @@
{
"name": "libxfont",
"version": "2.0.5",
"port-version": 1,
"description": "X font handling library for server & utilities",
"homepage": "https://gitlab.freedesktop.org/xorg/lib/libxfont",
"license": null,

View File

@ -5410,7 +5410,7 @@
},
"libxfont": {
"baseline": "2.0.5",
"port-version": 0
"port-version": 1
},
"libxft": {
"baseline": "2.3.4",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "68da445b35a06c8bdc939e363098874e80da5b14",
"version": "2.0.5",
"port-version": 1
},
{
"git-tree": "f78821d4b3573bc0b927dc76f10660665f0b2893",
"version": "2.0.5",