aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaynor Vliegendhart <shinnonoir+git@gmail.com>2017-08-30 07:19:34 +0200
committerGitHub <noreply@github.com>2017-08-30 07:19:34 +0200
commit345527b3652aeb4b016dcf6cba030d5e316c62a1 (patch)
treeffa854a71ec32e97b5eaa06b75aaebbf0ebd063c
parent6b1fc769a64eb18ec25e289347ce2043968f706f (diff)
downloadvcpkg-345527b3652aeb4b016dcf6cba030d5e316c62a1.tar.gz
vcpkg-345527b3652aeb4b016dcf6cba030d5e316c62a1.zip
[libxml2] Add http mirror
On some networks, access to FTP sites is restricted. In order to still download, build and install libxml2, an http mirror has to be added to the cmake file.
-rw-r--r--ports/libxml2/portfile.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/libxml2/portfile.cmake b/ports/libxml2/portfile.cmake
index de98368c9..d50183f1d 100644
--- a/ports/libxml2/portfile.cmake
+++ b/ports/libxml2/portfile.cmake
@@ -9,7 +9,7 @@
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libxml2-2.9.4)
vcpkg_download_distfile(ARCHIVE
- URLS "ftp://xmlsoft.org/libxml2/libxml2-2.9.4.tar.gz"
+ URLS "ftp://xmlsoft.org/libxml2/libxml2-2.9.4.tar.gz" "http://xmlsoft.org/sources/libxml2-2.9.4.tar.gz"
FILENAME "libxml2-2.9.4.tar.gz"
SHA512 f5174ab1a3a0ec0037a47f47aa47def36674e02bfb42b57f609563f84c6247c585dbbb133c056953a5adb968d328f18cbc102eb0d00d48eb7c95478389e5daf9
)
@@ -29,4 +29,4 @@ vcpkg_install_cmake()
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libxml2)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libxml2/COPYING ${CURRENT_PACKAGES_DIR}/share/libxml2/copyright)
-vcpkg_copy_pdbs() \ No newline at end of file
+vcpkg_copy_pdbs()