diff options
| author | zi-m <zi.m.github.com@gmail.com> | 2019-09-07 23:08:23 +0200 |
|---|---|---|
| committer | zi-m <zi.m.github.com@gmail.com> | 2019-09-07 23:08:23 +0200 |
| commit | 108faffff4c995bc36c08695f72c14ae0f21163c (patch) | |
| tree | 88a01a6076f142e4ad1b6002f4c7dc3730aa50ca /ports/gettext | |
| parent | 7fd21c5d827c2d77b21270646c2fe53704245747 (diff) | |
| parent | 4cffadc18891aa6cc5a512cf500ad468c54cd3d0 (diff) | |
| download | vcpkg-108faffff4c995bc36c08695f72c14ae0f21163c.tar.gz vcpkg-108faffff4c995bc36c08695f72c14ae0f21163c.zip | |
Merge remote-tracking branch 'upstream/master' into wxchartdir
Diffstat (limited to 'ports/gettext')
| -rw-r--r-- | ports/gettext/CONTROL | 2 | ||||
| -rw-r--r-- | ports/gettext/portfile.cmake | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/gettext/CONTROL b/ports/gettext/CONTROL index a6adfefc6..1816f8b76 100644 --- a/ports/gettext/CONTROL +++ b/ports/gettext/CONTROL @@ -1,5 +1,5 @@ Source: gettext -Version: 0.19-10 +Version: 0.19-11 Homepage: https://www.gnu.org/software/gettext/ Description: The GNU gettext utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages. Provides libintl. Build-Depends: libiconv diff --git a/ports/gettext/portfile.cmake b/ports/gettext/portfile.cmake index d7283cc90..a9ab3d2e7 100644 --- a/ports/gettext/portfile.cmake +++ b/ports/gettext/portfile.cmake @@ -1,5 +1,8 @@ if(VCPKG_CMAKE_SYSTEM_NAME AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin") set(VCPKG_POLICY_EMPTY_PACKAGE enabled) + if (NOT EXISTS "/usr/include/libintl.h") + message(FATAL_ERROR "Please use command \"sudo apt-get install gettext\" to install gettext on linux.") + endif() file(COPY ${CMAKE_CURRENT_LIST_DIR}/unofficial-gettext-config.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/unofficial-gettext) return() endif() |
