head 1.10; access; symbols pkgsrc-2026Q1:1.10.0.56 pkgsrc-2026Q1-base:1.10 pkgsrc-2025Q4:1.10.0.54 pkgsrc-2025Q4-base:1.10 pkgsrc-2025Q3:1.10.0.52 pkgsrc-2025Q3-base:1.10 pkgsrc-2025Q2:1.10.0.50 pkgsrc-2025Q2-base:1.10 pkgsrc-2025Q1:1.10.0.48 pkgsrc-2025Q1-base:1.10 pkgsrc-2024Q4:1.10.0.46 pkgsrc-2024Q4-base:1.10 pkgsrc-2024Q3:1.10.0.44 pkgsrc-2024Q3-base:1.10 pkgsrc-2024Q2:1.10.0.42 pkgsrc-2024Q2-base:1.10 pkgsrc-2024Q1:1.10.0.40 pkgsrc-2024Q1-base:1.10 pkgsrc-2023Q4:1.10.0.38 pkgsrc-2023Q4-base:1.10 pkgsrc-2023Q3:1.10.0.36 pkgsrc-2023Q3-base:1.10 pkgsrc-2023Q2:1.10.0.34 pkgsrc-2023Q2-base:1.10 pkgsrc-2023Q1:1.10.0.32 pkgsrc-2023Q1-base:1.10 pkgsrc-2022Q4:1.10.0.30 pkgsrc-2022Q4-base:1.10 pkgsrc-2022Q3:1.10.0.28 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.10.0.26 pkgsrc-2022Q2-base:1.10 pkgsrc-2022Q1:1.10.0.24 pkgsrc-2022Q1-base:1.10 pkgsrc-2021Q4:1.10.0.22 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.10.0.20 pkgsrc-2021Q3-base:1.10 pkgsrc-2021Q2:1.10.0.18 pkgsrc-2021Q2-base:1.10 pkgsrc-2021Q1:1.10.0.16 pkgsrc-2021Q1-base:1.10 pkgsrc-2020Q4:1.10.0.14 pkgsrc-2020Q4-base:1.10 pkgsrc-2020Q3:1.10.0.12 pkgsrc-2020Q3-base:1.10 pkgsrc-2020Q2:1.10.0.10 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.10.0.6 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.10.0.8 pkgsrc-2019Q4-base:1.10 pkgsrc-2019Q3:1.10.0.4 pkgsrc-2019Q3-base:1.10 pkgsrc-2019Q2:1.10.0.2 pkgsrc-2019Q2-base:1.10 pkgsrc-2019Q1:1.9.0.2 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.8.0.2 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.7.0.2 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.6.0.12 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.10 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.8 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.6 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.2 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.4.0.8 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.6 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.4 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.2 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.3.0.2 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.2.0.8 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.6 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.4 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.2 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.1.0.6 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.4 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.2 pkgsrc-2014Q2-base:1.1; locks; strict; comment @# @; 1.10 date 2019.06.03.15.20.59; author bouyer; state Exp; branches; next 1.9; commitid WXNPWdux2KAITKpB; 1.9 date 2019.03.25.11.34.05; author bouyer; state Exp; branches; next 1.8; commitid sWRCoAcXGnNnSJgB; 1.8 date 2018.11.25.17.04.40; author bouyer; state Exp; branches; next 1.7; commitid Ccmx4vveaW31Al1B; 1.7 date 2018.07.19.17.58.57; author bouyer; state Exp; branches; next 1.6; commitid TSog5TuK9zzn1MKA; 1.6 date 2017.04.18.13.31.55; author bouyer; state Exp; branches 1.6.12.1; next 1.5; commitid QhnkrYTpNETWe1Oz; 1.5 date 2017.04.14.16.20.15; author bouyer; state Exp; branches; next 1.4; commitid MQ2TWmvVlthpiwNz; 1.4 date 2016.05.21.10.50.41; author bouyer; state Exp; branches; next 1.3; commitid Eoxepk6DDcHk1l7z; 1.3 date 2016.03.14.11.01.06; author bouyer; state Exp; branches; next 1.2; commitid 2x5AQDLpyscmfBYy; 1.2 date 2015.01.22.12.34.15; author bouyer; state Exp; branches; next 1.1; commitid imw7Sd8qPk0u917y; 1.1 date 2014.05.25.18.26.57; author bouyer; state Exp; branches; next ; commitid TAmeaAbInYxBUWBx; 1.6.12.1 date 2018.08.18.10.31.59; author bsiegert; state Exp; branches; next ; commitid 4hRbEu6IrKgUAAOA; desc @@ 1.10 log @Fix wxWidgets component detection with newer cmake @ text @$NetBSD: patch-CMakeLists.txt,v 1.9 2019/03/25 11:34:05 bouyer Exp $ --- CMakeLists.txt.orig 2019-03-23 02:25:59.000000000 +0100 +++ CMakeLists.txt 2019-06-03 15:10:23.518458870 +0200 @@@@ -157,7 +157,19 @@@@ # Based on code from nohal IF (NOT WIN32) # default - SET (ARCH "i386") + IF (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*") + IF (CMAKE_SIZEOF_VOID_P MATCHES "8") + SET (ARCH "aarch64") + ELSE (CMAKE_SIZEOF_VOID_P MATCHES "8") + SET (ARCH "armhf") + ENDIF (CMAKE_SIZEOF_VOID_P MATCHES "8") + ELSE (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*") + IF (CMAKE_SIZEOF_VOID_P MATCHES "8") + SET (ARCH "x86_64") + ELSE (CMAKE_SIZEOF_VOID_P MATCHES "8") + SET (ARCH "i386") + ENDIF (CMAKE_SIZEOF_VOID_P MATCHES "8") + ENDIF (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*") SET (LIB_INSTALL_DIR "lib") IF (EXISTS /etc/debian_version) SET (PACKAGE_FORMAT "DEB") @@@@ -191,7 +203,6 @@@@ ELSE (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*") IF (CMAKE_SIZEOF_VOID_P MATCHES "8") SET (ARCH "x86_64") - SET (LIB_INSTALL_DIR "lib64") ELSE (CMAKE_SIZEOF_VOID_P MATCHES "8") SET (ARCH "i386") SET (LIB_INSTALL_DIR "lib") @@@@ -413,6 +424,7 @@@@ SET(wxWidgets_USE_LIBS net xml html adv aui core base webview) ENDIF() + OPTION (USE_GL "Enable OpenGL support" ON) # Prefer libGL.so to libOpenGL.so, see CMP0072 @@@@ -1033,7 +1045,6 @@@@ IF(NOT WIN32 AND NOT APPLE AND NOT QT_ANDROID) - OPTION(OCPN_FORCE_GTK3 "Force the build to use GTK3" OFF) IF(NOT OCPN_FORCE_GTK3) @@@@ -1053,14 +1064,14 @@@@ set(wxWidgets_CONFIG_OPTIONS ${wxWidgets_CONFIG_OPTIONS} --toolkit=gtk3) MESSAGE(STATUS "Building against GTK3...") ENDIF(GTK2_FOUND) - FIND_PACKAGE(wxWidgets) + FIND_PACKAGE(wxWidgets COMPONENTS ${wxWidgets_USE_LIBS}) if (wxWidgets_FOUND) message(STATUS "Found wxWidgets webview add-on") add_definitions(-DOCPN_USE_WEBVIEW) else () list(REMOVE_ITEM wxWidgets_USE_LIBS webview) message(STATUS "Could not find wxWidgets webview add-on") - FIND_PACKAGE(wxWidgets REQUIRED) + FIND_PACKAGE(wxWidgets REQUIRED ${wxWidgets_USE_LIBS}) endif () MESSAGE (STATUS "Found wxWidgets..." ) MESSAGE (STATUS " wxWidgets Include: ${wxWidgets_INCLUDE_DIRS}") @@@@ -2336,6 +2347,7 @@@@ # So, add them manually. These declarations may be redundant in some architectures, but do no harm. IF(CMAKE_SYSTEM_NAME MATCHES ".*Linux") TARGET_LINK_LIBRARIES( ${PACKAGE_NAME} dl ) + SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--export-dynamic") ENDIF(CMAKE_SYSTEM_NAME MATCHES ".*Linux") @ 1.9 log @Update OpenCPN to 5.0.0. Changes since 4.8.8: As a successor to OpenCPN Version 4.8, OpenCPN Version 5.0 contains many new features and enhanced functions. Among them are: ..Redesigned user interface, incorporating modern user interface elements and concepts. ..Support for multiple chart views simultaneously, using different charts display options if desired. ..User defined templates for easy recall of multiple configurations. ..Support for the widely available MBTiles chart format. ..Extended options for route and Waypoint creation. ..Expanded display of vector chart (ENC) information, including embedded images. ..Measurably improved performance and reliability over all supported platforms. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.8 2018/11/25 17:04:40 bouyer Exp $ d3 2 a4 2 --- CMakeLists.txt.orig 2019-03-13 05:01:43.000000000 +0100 +++ CMakeLists.txt 2019-03-13 12:59:52.443556322 +0100 d34 9 a42 1 @@@@ -1033,7 +1044,6 @@@@ d50 18 a67 1 @@@@ -2336,6 +2346,7 @@@@ @ 1.8 log @Do not force the gtk version, let cmake find the right one from buildlink. No change to binaries so no revision bump. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.7 2018/07/19 17:58:57 bouyer Exp $ d3 3 a5 3 --- CMakeLists.txt.orig 2018-11-07 04:14:41.000000000 +0100 +++ CMakeLists.txt 2018-11-25 14:47:14.684811535 +0100 @@@@ -91,8 +91,21 @@@@ a23 1 + d26 1 a26 2 SET (PACKAGE_DEPS "libc6, libwxgtk3.0-0, wx3.0-i18n, libglu1-mesa (>= 7.0.0), libgl1-mesa-glx (>= 7.0.0), zlib1g, bzip2, libtinyxml2.6.2, libportaudio2") @@@@ -125,7 +138,6 @@@@ d34 1 a34 1 @@@@ -344,7 +356,7 @@@@ a35 8 # Search for opengles, short of running a program to test the speed # of acceleration, I simply use gles on "native linux" arm systems -IF (ARCH MATCHES "arm*" AND (NOT QT_ANDROID) ) +IF (ARCH MATCHES "arm*" AND (NOT QT_ANDROID) AND CMAKE_SYSTEM_NAME MATCHES ".*Linux" ) find_path(OPENGLESv1_INCLUDE_DIR GLES/gl.h ) IF (OPENGLESv1_INCLUDE_DIR) MESSAGE (STATUS "Found OpenGLESv1") @@@@ -927,7 +939,6 @@@@ a36 1 d40 1 d42 1 a42 4 FIND_PACKAGE(GTK2) @@@@ -1978,10 +1989,10 @@@@ # Certain older Cmake FindGTK2 modules ( e.g. cmake-2.8.0-2) do not yield all of the required link libraries d44 2 a45 6 -IF(UNIX) -TARGET_LINK_LIBRARIES( ${PACKAGE_NAME} dl ) -ENDIF(UNIX) - +IF(CMAKE_SYSTEM_NAME MATCHES ".*Linux") + TARGET_LINK_LIBRARIES( ${PACKAGE_NAME} dl ) d47 2 a48 1 +ENDIF(CMAKE_SYSTEM_NAME MATCHES ".*Linux") a49 2 IF( UNIX AND NOT APPLE ) FIND_PATH( LIBELF_INCLUDE_DIR NAMES libelf.h gelf.h PATH_SUFFIXES libelf ) @ 1.7 log @Do not include buildlink3 files already inclued by wxGTK30/buildlink3.mk (especially, remove gtk2 buildlink3). Make opencpn build with gtk3 Conservatively bump PKGREVISIONs @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.6 2017/04/18 13:31:55 bouyer Exp $ d3 2 a4 2 --- CMakeLists.txt.orig 2018-02-07 12:08:26.000000000 +0100 +++ CMakeLists.txt 2018-07-19 17:20:24.093239101 +0200 d45 1 a45 1 @@@@ -868,7 +880,11 @@@@ a49 5 + IF(CMAKE_SYSTEM_NAME MATCHES ".*NetBSD") + OPTION(OCPN_FORCE_GTK3 "Force the build to use GTK3" ON) + ELSE(CMAKE_SYSTEM_NAME MATCHES ".*NetBSD") + OPTION(OCPN_FORCE_GTK3 "Force the build to use GTK3" OFF) + ENDIF(CMAKE_SYSTEM_NAME MATCHES ".*NetBSD") d53 1 a53 1 @@@@ -1919,10 +1935,10 @@@@ @ 1.6 log @Fix build for non-x86 hosts (don't assume non-linux is i386!) @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.4 2016/05/21 10:50:41 bouyer Exp $ d3 3 a5 3 --- CMakeLists.txt.orig 2017-04-02 05:17:09.000000000 +0200 +++ CMakeLists.txt 2017-04-18 15:03:46.000000000 +0200 @@@@ -65,8 +65,21 @@@@ d28 1 a28 1 @@@@ -99,7 +112,6 @@@@ d36 1 a36 1 @@@@ -318,7 +330,7 @@@@ d45 14 a58 1 @@@@ -1861,10 +1873,10 @@@@ @ 1.6.12.1 log @Pullup ticket #5804 - requested by bouyer geography/opencpn: build fix Revisions pulled up: - geography/opencpn-plugin-debugger/Makefile 1.11 - geography/opencpn-plugin-draw/Makefile 1.17 - geography/opencpn-plugin-statusbar/Makefile 1.8 - geography/opencpn-plugin-watchdog/Makefile 1.15 - geography/opencpn-plugin-watchdog/distinfo 1.10 - geography/opencpn-plugin-watchdog/patches/patch-src_Alarm.cpp 1.2 - geography/opencpn-plugin-watchdog/patches/patch-src_watchdog_pi.cpp 1.2 - geography/opencpn-plugin-weather_routing/Makefile 1.18 - geography/opencpn/Makefile 1.24 - geography/opencpn/distinfo 1.19-1.20 - geography/opencpn/patches/patch-CMakeLists.txt 1.7 - geography/opencpn/patches/patch-plugins_wmm_pi_src_MagneticPlotMap.cpp 1.2 --- Module Name: pkgsrc Committed By: bouyer Date: Tue Jul 3 15:14:16 UTC 2018 Modified Files: pkgsrc/geography/opencpn: distinfo pkgsrc/geography/opencpn-plugin-watchdog: distinfo pkgsrc/geography/opencpn-plugin-watchdog/patches: patch-src_Alarm.cpp patch-src_watchdog_pi.cpp pkgsrc/geography/opencpn/patches: patch-plugins_wmm_pi_src_MagneticPlotMap.cpp Log Message: newer gcc (e.g. 8.0_RC2) requires for std::isnan(). This is only a build fix so no revision bump --- Module Name: pkgsrc Committed By: bouyer Date: Thu Jul 19 17:58:58 UTC 2018 Modified Files: pkgsrc/geography/opencpn: Makefile distinfo pkgsrc/geography/opencpn-plugin-debugger: Makefile pkgsrc/geography/opencpn-plugin-draw: Makefile pkgsrc/geography/opencpn-plugin-statusbar: Makefile pkgsrc/geography/opencpn-plugin-watchdog: Makefile pkgsrc/geography/opencpn-plugin-weather_routing: Makefile pkgsrc/geography/opencpn/patches: patch-CMakeLists.txt Log Message: Do not include buildlink3 files already inclued by wxGTK30/buildlink3.mk (especially, remove gtk2 buildlink3). Make opencpn build with gtk3 Conservatively bump PKGREVISIONs @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- CMakeLists.txt.orig 2018-02-07 12:08:26.000000000 +0100 +++ CMakeLists.txt 2018-07-19 17:20:24.093239101 +0200 @@@@ -91,8 +91,21 @@@@ d28 1 a28 1 @@@@ -125,7 +138,6 @@@@ d36 1 a36 1 @@@@ -344,7 +356,7 @@@@ d45 1 a45 14 @@@@ -868,7 +880,11 @@@@ IF(NOT WIN32 AND NOT APPLE AND NOT QT_ANDROID) - OPTION(OCPN_FORCE_GTK3 "Force the build to use GTK3" OFF) + IF(CMAKE_SYSTEM_NAME MATCHES ".*NetBSD") + OPTION(OCPN_FORCE_GTK3 "Force the build to use GTK3" ON) + ELSE(CMAKE_SYSTEM_NAME MATCHES ".*NetBSD") + OPTION(OCPN_FORCE_GTK3 "Force the build to use GTK3" OFF) + ENDIF(CMAKE_SYSTEM_NAME MATCHES ".*NetBSD") IF(NOT OCPN_FORCE_GTK3) FIND_PACKAGE(GTK2) @@@@ -1919,10 +1935,10 @@@@ @ 1.5 log @Update opencpn to 4.6.1. Changes since 4.4.0: As a successor to OpenCPN version 4.4, OpenCPN Version 4.6 contains several new features and enhanced functions. Among them are: Substantial functional improvements and performance increases related to ENC vector charts. User selectable InlandECS mode for increased safety and convenience while navigating inland waters. Expanded User Manual bundled with Release download. @ text @d4 25 a28 2 +++ CMakeLists.txt 2017-04-14 13:06:55.000000000 +0200 @@@@ -99,7 +99,6 @@@@ d36 1 a36 1 @@@@ -318,7 +317,7 @@@@ d45 1 a45 1 @@@@ -1861,10 +1860,10 @@@@ @ 1.4 log @Make theses build (and run) on linux @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.3 2016/03/14 11:01:06 bouyer Exp $ d3 11 a13 19 --- CMakeLists.txt.orig 2016-02-03 18:44:17.000000000 +0100 +++ CMakeLists.txt 2016-05-21 12:06:28.121554591 +0200 @@@@ -81,7 +81,6 @@@@ # SET (PACKAGE_DEPS "wxGTK mesa-libGLU mesa-libGL gettext zlib bzip2 portaudio") IF (CMAKE_SIZEOF_VOID_P MATCHES "8") SET (ARCH "x86_64") - SET (LIB_INSTALL_DIR "lib64") ELSE (CMAKE_SIZEOF_VOID_P MATCHES "8") SET (ARCH "i386") SET (LIB_INSTALL_DIR "lib") @@@@ -92,7 +91,6 @@@@ # SET (PACKAGE_DEPS "libwx_baseu-2_8-0-wxcontainer MesaGLw libbz2-1 portaudio") IF (CMAKE_SIZEOF_VOID_P MATCHES "8") SET (ARCH "x86_64") - SET (LIB_INSTALL_DIR "lib64") ELSE (CMAKE_SIZEOF_VOID_P MATCHES "8") SET (ARCH "i386") SET (LIB_INSTALL_DIR "lib") @@@@ -282,7 +280,7 @@@@ d22 1 a22 1 @@@@ -1755,9 +1753,10 @@@@ d29 1 d35 2 a36 2 IF(QT_LINUX) TARGET_LINK_LIBRARIES( ${PACKAGE_NAME} Qt5Widgets Qt5OpenGL Qt5Gui Qt5Test Qt5Core ) @ 1.3 log @Update OpenCPN to 4.2.0. Changes since 4.0.0: As a successor to OpenCPN Version 4.0, OpenCPN Version 4.2 contains many new features and enhanced functions. Among them are: ..Increased performance in all modes, particularly when using OpenGL graphics acceleration. ..Integrated Chart Downloader PlugIn, allowing systematic tracking and donwload of latest online charts from several popular sources. ..Integrated World Magnetic Model (WMM) PlugIn, providing accuratley calculated magnetic variation worldwide. ..Major update to embedded Users Manual. ..Measurably improved performance and reliability over all supported platforms. more details here: http://opencpn.org/ocpn/release4.2 @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.2 2015/01/22 12:34:15 bouyer Exp $ d4 18 a21 2 +++ CMakeLists.txt 2016-02-17 17:40:51.000000000 +0100 @@@@ -282,7 +282,7 @@@@ d30 1 a30 1 @@@@ -1755,9 +1755,9 @@@@ d35 2 d38 2 a39 2 TARGET_LINK_LIBRARIES( ${PACKAGE_NAME} dl ) -ENDIF(UNIX) @ 1.2 log @Update opencpn to 4.0.0. Changes since 3.2.2: - Increased performance in all modes, particularly when using OpenGL graphics acceleration. - Additional network interface methods, including TCP/IP client/server and UDP broadcast. - Support for multiple data source instances, including Filtering and prioritization of messages Output of NMEA data streams for real-time integration into ship systems - Improved support for Mac OS X systems, including 64 bit native support. - Integrated Tablet/Touch screen support. - AIS Personal Locater Beacon (PLB) configuration and tracking. - Enhanced AIS target tracking modes. - GRIB PlugIn feature additions. Graphical GRIB email request generation. Moving particle wind overlay. Enhanced GRIB data type support. - Dashboard PlugIn feature additions. More selectable instruments. - Major update to embedded Users Manual. - Measurably improved performance and reliability over all supported platforms. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.1 2014/05/25 18:26:57 bouyer Exp $ d3 12 a14 3 --- CMakeLists.txt.orig 2014-05-26 21:26:36.000000000 +0200 +++ CMakeLists.txt 2014-06-16 11:41:17.000000000 +0200 @@@@ -1007,9 +1007,9 @@@@ d24 2 a25 2 IF(GTK2_FOUND) TARGET_LINK_LIBRARIES( ${PACKAGE_NAME} gobject-2.0 ) @ 1.1 log @Import opencpn version 3.2.2. OpenCPN is a free software (GPLv2) project to create a concise chart plotter and navigation software, for use underway or as a planning tool. OpenCPN is developed by a team of active sailors using real world conditions for program testing and refinement. @ text @d1 1 a1 1 $NetBSD: $ d3 3 a5 5 /usr/lib/libdl* is not available on NetBSD --- CMakeLists.txt.orig 2014-05-23 16:28:34.000000000 +0200 +++ CMakeLists.txt 2014-05-23 16:28:41.000000000 +0200 @@@@ -818,10 +818,6 @@@@ d10 2 a11 1 -TARGET_LINK_LIBRARIES( ${PACKAGE_NAME} dl ) d13 2 a14 1 - a16 1 ENDIF(GTK2_FOUND) @