mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 03:09:02 +08:00
[fontconfig] no absolute paths (#21424)
This commit is contained in:
parent
6e023eba7b
commit
0c846c11aa
@ -38,10 +38,7 @@ endif()
|
||||
# Make path to cache in fonts.conf relative
|
||||
set(_file "${CURRENT_PACKAGES_DIR}/etc/fonts/fonts.conf")
|
||||
if(EXISTS "${_file}")
|
||||
file(READ "${_file}" _contents)
|
||||
string(REPLACE "${CURRENT_INSTALLED_DIR}/var/cache/fontconfig" "./../../var/cache/fontconfig" _contents "${_contents}")
|
||||
string(REPLACE "/var" "/../var" _contents "${_contents}")
|
||||
file(WRITE "${_file}" "${_contents}")
|
||||
vcpkg_replace_string("${_file}" "${CURRENT_PACKAGES_DIR}/var/cache/fontconfig" "./../../var/cache/fontconfig")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/var"
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "fontconfig",
|
||||
"version": "2.13.94",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Library for configuring and customizing font access.",
|
||||
"homepage": "https://www.freedesktop.org/wiki/Software/fontconfig",
|
||||
"dependencies": [
|
||||
|
@ -2218,7 +2218,7 @@
|
||||
},
|
||||
"fontconfig": {
|
||||
"baseline": "2.13.94",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"foonathan-memory": {
|
||||
"baseline": "2019-07-21",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "bc9133bf9d7f323757e7de9992ae6dbac0a92f00",
|
||||
"version": "2.13.94",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "606b2d7ca0ba11e29552311100b66d8c5052faeb",
|
||||
"version": "2.13.94",
|
||||
|
Loading…
Reference in New Issue
Block a user