aboutsummaryrefslogtreecommitdiff
path: root/ports/atkmm
diff options
context:
space:
mode:
Diffstat (limited to 'ports/atkmm')
-rw-r--r--ports/atkmm/CONTROL8
-rw-r--r--ports/atkmm/portfile.cmake9
2 files changed, 7 insertions, 10 deletions
diff --git a/ports/atkmm/CONTROL b/ports/atkmm/CONTROL
index 3a8d55164..329a329b8 100644
--- a/ports/atkmm/CONTROL
+++ b/ports/atkmm/CONTROL
@@ -1,4 +1,4 @@
-Source: atkmm
-Version: 2.24.2
-Description: atkmm is the official C++ interface for the ATK accessibility toolkit library. It may be used, for instance, by user interfaces implemented with gtkmm.
-Build-Depends: glib, gettext, atk, glibmm
+Source: atkmm
+Version: 2.24.2-1
+Description: atkmm is the official C++ interface for the ATK accessibility toolkit library. It may be used, for instance, by user interfaces implemented with gtkmm.
+Build-Depends: glib, gettext, atk, glibmm
diff --git a/ports/atkmm/portfile.cmake b/ports/atkmm/portfile.cmake
index 74cf021c8..4bc4fd299 100644
--- a/ports/atkmm/portfile.cmake
+++ b/ports/atkmm/portfile.cmake
@@ -1,10 +1,7 @@
-# ATK uses DllMain, so atkmm also
-if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
- message(STATUS "Warning: Static building not supported. Building dynamic.")
- set(VCPKG_LIBRARY_LINKAGE dynamic)
-endif()
-
include(vcpkg_common_functions)
+
+vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
+
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/atkmm-2.24.2)
vcpkg_download_distfile(ARCHIVE
URLS "http://ftp.gnome.org/pub/GNOME/sources/atkmm/2.24/atkmm-2.24.2.tar.xz"