diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/libxslt/CONTROL | 3 | ||||
| -rw-r--r-- | ports/libxslt/portfile.cmake | 12 |
2 files changed, 11 insertions, 4 deletions
diff --git a/ports/libxslt/CONTROL b/ports/libxslt/CONTROL index 27f8c16f4..65a62940c 100644 --- a/ports/libxslt/CONTROL +++ b/ports/libxslt/CONTROL @@ -1,6 +1,7 @@ Source: libxslt Version: 1.1.33 -Port-Version: 8 +Port-Version: 9 Homepage: https://github.com/GNOME/libxslt Description: Libxslt is a XSLT library implemented in C for XSLT 1.0 and most of EXSLT Build-Depends: libxml2, liblzma +Supports: !uwp
\ No newline at end of file diff --git a/ports/libxslt/portfile.cmake b/ports/libxslt/portfile.cmake index 63cb6d322..06dd48f48 100644 --- a/ports/libxslt/portfile.cmake +++ b/ports/libxslt/portfile.cmake @@ -83,6 +83,12 @@ else() find_library(LibXml2_DEBUG_LIBRARIES libxml2 PATHS ${CURRENT_INSTALLED_DIR}/debug/lib REQUIRED) find_library(LibXml2_RELEASE_LIBRARIES libxml2 PATHS ${CURRENT_INSTALLED_DIR}/lib REQUIRED) + if (VCPKG_TARGET_IS_OSX ) + set(LIBICONV "-liconv") + else() + set(LIBICONV "") + endif() + vcpkg_configure_make( SOURCE_PATH ${SOURCE_PATH} AUTOCONFIG @@ -95,14 +101,14 @@ else() --with-mem-debug --with-debug --with-debugger - --with-libxml-libs-prefix="${CURRENT_INSTALLED_DIR}/debug/lib -lxml2 -lz -llzmad" + --with-libxml-libs-prefix="${CURRENT_INSTALLED_DIR}/debug/lib -lxml2 -lz -llzmad ${LIBICONV}" --with-html-dir=${CURRENT_INSTALLED_DIR}/debug/tools --with-html-subdir=${CURRENT_INSTALLED_DIR}/debug/tools OPTIONS_RELEASE - --with-libxml-libs-prefix="${CURRENT_INSTALLED_DIR}/lib -lxml2 -lz -llzma" + --with-libxml-libs-prefix="${CURRENT_INSTALLED_DIR}/lib -lxml2 -lz -llzma ${LIBICONV}" --with-html-dir=${CURRENT_INSTALLED_DIR}/tools --with-html-subdir=${CURRENT_INSTALLED_DIR}/tools - ) + ) vcpkg_install_make() vcpkg_fixup_pkgconfig() |
