[ncurses] Add file(MAKE_DIRECTORY) to create the missing directories (#26690)

* [ncurses] Add dependence pkgconf

* Add MAKE_DIRECTORY
This commit is contained in:
Cheney Wang 2022-09-08 11:36:51 -07:00 committed by GitHub
parent 5d500d15c1
commit 0c1a8fea70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 5 deletions

View File

@ -9,8 +9,8 @@ vcpkg_download_distfile(
SHA512 5373f228cba6b7869210384a607a2d7faecfcbfef6dbfcd7c513f4e84fbd8bcad53ac7db2e7e84b95582248c1039dcfc7c4db205a618f7da22a166db482f0105
)
vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
vcpkg_extract_source_archive(
SOURCE_PATH
ARCHIVE "${ARCHIVE_PATH}"
)
@ -38,6 +38,9 @@ if(VCPKG_TARGET_IS_MINGW)
)
endif()
file(MAKE_DIRECTORY "${CURRENT_INSTALLED_DIR}/debug/lib/pkgconfig")
file(MAKE_DIRECTORY "${CURRENT_INSTALLED_DIR}/lib/pkgconfig")
set(OPTIONS_DEBUG
"--with-pkg-config-libdir=${CURRENT_INSTALLED_DIR}/debug/lib/pkgconfig"
--with-debug
@ -50,7 +53,7 @@ set(OPTIONS_RELEASE
)
vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${OPTIONS}
OPTIONS_DEBUG ${OPTIONS_DEBUG}
OPTIONS_RELEASE ${OPTIONS_RELEASE}

View File

@ -1,7 +1,7 @@
{
"name": "ncurses",
"version": "6.3",
"port-version": 1,
"port-version": 2,
"description": "free software emulation of curses in System V Release 4.0",
"homepage": "https://invisible-island.net/ncurses/announce.html",
"license": "MIT",

View File

@ -4970,7 +4970,7 @@
},
"ncurses": {
"baseline": "6.3",
"port-version": 1
"port-version": 2
},
"neargye-semver": {
"baseline": "0.3.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f61c866b4032d902b9c31cec60a4418615ae921b",
"version": "6.3",
"port-version": 2
},
{
"git-tree": "ea7aecbf38cef7f64f929c679d55812e679ca496",
"version": "6.3",