mirror of https://github.com/microsoft/vcpkg.git
[mpfr] Add hint to install autoconf-archive for OSX (#27634)
* [mpfr] Add hint to install autoconf-archive for OSX * x-add-version * fix deprecated function * x-add-version * apply suggestion * x-add-version
This commit is contained in:
parent
7bc4083c7f
commit
68ad399d55
|
|
@ -1,16 +1,19 @@
|
|||
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
|
||||
|
||||
if(VCPKG_TARGET_IS_LINUX)
|
||||
message(WARNING "${PORT} currently requires the following packages:\n autoconf-archive\nThese can be installed on Ubuntu systems via\n sudo apt-get update -y\n sudo apt-get install -y autoconf-archive\n")
|
||||
elseif(VCPKG_TARGET_IS_OSX)
|
||||
message(WARNING "${PORT} currently requires the following packages:\n autoconf-archive\nIt can be installed with\n brew install autoconf-archive\n")
|
||||
endif()
|
||||
|
||||
set(VERSION 4.1.0)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "http://www.mpfr.org/mpfr-${VERSION}/mpfr-${VERSION}.tar.xz" "https://ftp.gnu.org/gnu/mpfr/mpfr-${VERSION}.tar.xz"
|
||||
FILENAME "mpfr-${VERSION}.tar.xz"
|
||||
SHA512 1bd1c349741a6529dfa53af4f0da8d49254b164ece8a46928cdb13a99460285622d57fe6f68cef19c6727b3f9daa25ddb3d7d65c201c8f387e421c7f7bee6273
|
||||
)
|
||||
|
||||
vcpkg_extract_source_archive_ex(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
vcpkg_extract_source_archive(
|
||||
SOURCE_PATH
|
||||
ARCHIVE "${ARCHIVE}"
|
||||
PATCHES
|
||||
dll.patch
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "mpfr",
|
||||
"version": "4.1.0",
|
||||
"port-version": 6,
|
||||
"port-version": 7,
|
||||
"description": "The MPFR library is a C library for multiple-precision floating-point computations with correct rounding",
|
||||
"homepage": "https://www.mpfr.org",
|
||||
"license": "LGPL-3.0-or-later",
|
||||
|
|
|
|||
|
|
@ -4950,7 +4950,7 @@
|
|||
},
|
||||
"mpfr": {
|
||||
"baseline": "4.1.0",
|
||||
"port-version": 6
|
||||
"port-version": 7
|
||||
},
|
||||
"mpg123": {
|
||||
"baseline": "1.29.3",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "23e0ddc3c974f7b5b6e70c6be1389ed3d6182e81",
|
||||
"version": "4.1.0",
|
||||
"port-version": 7
|
||||
},
|
||||
{
|
||||
"git-tree": "0d41295a2963c8db8171724b2456dfaa2ec1a866",
|
||||
"version": "4.1.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue