mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
[libxfont] fix single config builds (#42730)
This commit is contained in:
parent
a09e4e86d8
commit
2892ef50b7
@ -35,10 +35,12 @@ if(VCPKG_TARGET_IS_WINDOWS)
|
|||||||
file(READ "${_file}" _contents)
|
file(READ "${_file}" _contents)
|
||||||
string(REPLACE "-lm" "" _contents "${_contents}")
|
string(REPLACE "-lm" "" _contents "${_contents}")
|
||||||
file(WRITE "${_file}" "${_contents}")
|
file(WRITE "${_file}" "${_contents}")
|
||||||
set(_file "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/xfont2.pc")
|
if(NOT VCPKG_BUILD_TYPE)
|
||||||
file(READ "${_file}" _contents)
|
set(_file "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/xfont2.pc")
|
||||||
string(REPLACE "-lm" "" _contents "${_contents}")
|
file(READ "${_file}" _contents)
|
||||||
file(WRITE "${_file}" "${_contents}")
|
string(REPLACE "-lm" "" _contents "${_contents}")
|
||||||
|
file(WRITE "${_file}" "${_contents}")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
vcpkg_fixup_pkgconfig()
|
vcpkg_fixup_pkgconfig()
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "libxfont",
|
"name": "libxfont",
|
||||||
"version": "2.0.5",
|
"version": "2.0.5",
|
||||||
|
"port-version": 1,
|
||||||
"description": "X font handling library for server & utilities",
|
"description": "X font handling library for server & utilities",
|
||||||
"homepage": "https://gitlab.freedesktop.org/xorg/lib/libxfont",
|
"homepage": "https://gitlab.freedesktop.org/xorg/lib/libxfont",
|
||||||
"license": null,
|
"license": null,
|
||||||
|
@ -5410,7 +5410,7 @@
|
|||||||
},
|
},
|
||||||
"libxfont": {
|
"libxfont": {
|
||||||
"baseline": "2.0.5",
|
"baseline": "2.0.5",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"libxft": {
|
"libxft": {
|
||||||
"baseline": "2.3.4",
|
"baseline": "2.3.4",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "68da445b35a06c8bdc939e363098874e80da5b14",
|
||||||
|
"version": "2.0.5",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "f78821d4b3573bc0b927dc76f10660665f0b2893",
|
"git-tree": "f78821d4b3573bc0b927dc76f10660665f0b2893",
|
||||||
"version": "2.0.5",
|
"version": "2.0.5",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user