[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:
Lily Wang 2022-11-04 14:56:43 -07:00 committed by GitHub
parent 7bc4083c7f
commit 68ad399d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 5 deletions

View File

@ -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

View File

@ -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",

View File

@ -4950,7 +4950,7 @@
},
"mpfr": {
"baseline": "4.1.0",
"port-version": 6
"port-version": 7
},
"mpg123": {
"baseline": "1.29.3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "23e0ddc3c974f7b5b6e70c6be1389ed3d6182e81",
"version": "4.1.0",
"port-version": 7
},
{
"git-tree": "0d41295a2963c8db8171724b2456dfaa2ec1a866",
"version": "4.1.0",