diff --git a/ports/mpfr/portfile.cmake b/ports/mpfr/portfile.cmake index 7ab383aa65..2b79603080 100644 --- a/ports/mpfr/portfile.cmake +++ b/ports/mpfr/portfile.cmake @@ -40,4 +40,5 @@ file(REMOVE "${CURRENT_PACKAGES_DIR}/share/${PORT}/TODO" ) +file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING" "${SOURCE_PATH}/COPYING.LESSER") diff --git a/ports/mpfr/usage b/ports/mpfr/usage new file mode 100644 index 0000000000..0219b24b72 --- /dev/null +++ b/ports/mpfr/usage @@ -0,0 +1,6 @@ +The package mpfr can be imported via CMake FindPkgConfig module: + + find_package(PkgConfig) + pkg_check_modules(mpfr REQUIRED IMPORTED_TARGET mpfr) + + target_link_libraries(main PRIVATE PkgConfig::mpfr) diff --git a/ports/mpfr/vcpkg.json b/ports/mpfr/vcpkg.json index 09f4f2cfd0..ec64b8c273 100644 --- a/ports/mpfr/vcpkg.json +++ b/ports/mpfr/vcpkg.json @@ -1,7 +1,7 @@ { "name": "mpfr", "version": "4.1.0", - "port-version": 5, + "port-version": 6, "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", diff --git a/versions/baseline.json b/versions/baseline.json index 8904762f74..28a5223cf9 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4758,7 +4758,7 @@ }, "mpfr": { "baseline": "4.1.0", - "port-version": 5 + "port-version": 6 }, "mpg123": { "baseline": "1.29.3", diff --git a/versions/m-/mpfr.json b/versions/m-/mpfr.json index 2c3c62260e..4336a2c574 100644 --- a/versions/m-/mpfr.json +++ b/versions/m-/mpfr.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "0d41295a2963c8db8171724b2456dfaa2ec1a866", + "version": "4.1.0", + "port-version": 6 + }, { "git-tree": "39b251ed109ce7a5787fe0e7235f9fe0ce436a09", "version": "4.1.0",