diff options
| author | pastdue <30942300+past-due@users.noreply.github.com> | 2021-02-02 17:37:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-02 14:37:29 -0800 |
| commit | 4ef16cd07edc4cc9570d543a4eb09c51006588ab (patch) | |
| tree | 5aee0a7d53de6fc3b8468a14482e08aa22262e74 | |
| parent | bbcf31b05c6a77d296b0ef28f9613072b57805af (diff) | |
| download | vcpkg-4ef16cd07edc4cc9570d543a4eb09c51006588ab.tar.gz vcpkg-4ef16cd07edc4cc9570d543a4eb09c51006588ab.zip | |
[libidn2] Fix cross-compile (non-Windows) (#15868)
* [libidn2] Fix cross-compile (non-Windows)
* Convert CONTROL, bump port-version
* x-add-version libidn2
| -rw-r--r-- | ports/libidn2/CONTROL | 6 | ||||
| -rw-r--r-- | ports/libidn2/portfile.cmake | 1 | ||||
| -rw-r--r-- | ports/libidn2/vcpkg.json | 10 | ||||
| -rw-r--r-- | versions/baseline.json | 2 | ||||
| -rw-r--r-- | versions/l-/libidn2.json | 5 |
5 files changed, 17 insertions, 7 deletions
diff --git a/ports/libidn2/CONTROL b/ports/libidn2/CONTROL deleted file mode 100644 index fb29df032..000000000 --- a/ports/libidn2/CONTROL +++ /dev/null @@ -1,6 +0,0 @@ -Source: libidn2 -Version: 2.3.0 -Port-Version: 1 -Build-Depends: libiconv -Homepage: https://www.gnu.org/software/libidn/ -Description: GNU Libidn is an implementation of the Stringprep, Punycode and IDNA 2003 specifications. Libidn's purpose is to encode and decode internationalized domain names. diff --git a/ports/libidn2/portfile.cmake b/ports/libidn2/portfile.cmake index 7c3054b1c..9509d6675 100644 --- a/ports/libidn2/portfile.cmake +++ b/ports/libidn2/portfile.cmake @@ -50,6 +50,7 @@ if (VCPKG_TARGET_IS_WINDOWS) else() vcpkg_configure_make( SOURCE_PATH ${SOURCE_PATH} + AUTOCONFIG COPY_SOURCE OPTIONS --with-libiconv-prefix=${CURRENT_INSTALLED_DIR} diff --git a/ports/libidn2/vcpkg.json b/ports/libidn2/vcpkg.json new file mode 100644 index 000000000..5b5a6b639 --- /dev/null +++ b/ports/libidn2/vcpkg.json @@ -0,0 +1,10 @@ +{ + "name": "libidn2", + "version-string": "2.3.0", + "port-version": 2, + "description": "GNU Libidn is an implementation of the Stringprep, Punycode and IDNA 2003 specifications. Libidn's purpose is to encode and decode internationalized domain names.", + "homepage": "https://www.gnu.org/software/libidn/", + "dependencies": [ + "libiconv" + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index e6f949d91..6e5aefd04 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3026,7 +3026,7 @@ }, "libidn2": { "baseline": "2.3.0", - "port-version": 1 + "port-version": 2 }, "libigl": { "baseline": "2.2.0", diff --git a/versions/l-/libidn2.json b/versions/l-/libidn2.json index cbf0a4fb2..688c8a1ac 100644 --- a/versions/l-/libidn2.json +++ b/versions/l-/libidn2.json @@ -1,6 +1,11 @@ { "versions": [ { + "git-tree": "6f5a62105488c9eb440e97c4d49a1ac6c8fa996c", + "version-string": "2.3.0", + "port-version": 2 + }, + { "git-tree": "6d198421acf88e8196da7f2d1389100307f92133", "version-string": "2.3.0", "port-version": 1 |
