Date: Sun, 23 Jun 2019 13:39:35 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504953 - in head/textproc/kf5-sonnet: . files Message-ID: <201906231339.x5NDdZ2J079744@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tcberner Date: Sun Jun 23 13:39:35 2019 New Revision: 504953 URL: https://svnweb.freebsd.org/changeset/ports/504953 Log: textproc/kf5-sonnet: disable building of examples - examples are built but not installed, so don't build them PR: 238710 Reported by: yuri Added: head/textproc/kf5-sonnet/files/patch-CMakeLists.txt (contents, props changed) Modified: head/textproc/kf5-sonnet/Makefile Modified: head/textproc/kf5-sonnet/Makefile ============================================================================== --- head/textproc/kf5-sonnet/Makefile Sun Jun 23 13:37:42 2019 (r504952) +++ head/textproc/kf5-sonnet/Makefile Sun Jun 23 13:39:35 2019 (r504953) @@ -2,6 +2,7 @@ PORTNAME= sonnet DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 CATEGORIES= textproc kde kde-frameworks MAINTAINER= kde@FreeBSD.org @@ -14,5 +15,8 @@ USES= cmake compiler:c++11-lib kde:5 qt:5 tar:xz USE_KDE= ecm USE_QT= buildtools_build core gui linguisttools qmake_build \ testlib widgets + +# Disable examples -- they are not installed anyways. +CMAKE_OFF= ENABLE_EXAMPLES .include <bsd.port.mk> Added: head/textproc/kf5-sonnet/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/kf5-sonnet/files/patch-CMakeLists.txt Sun Jun 23 13:39:35 2019 (r504953) @@ -0,0 +1,13 @@ +Allow disabling building examples, as they are not installed anyways. + +--- CMakeLists.txt.orig 2019-06-23 11:56:17 UTC ++++ CMakeLists.txt +@@ -53,7 +53,7 @@ if (NOT CMAKE_CROSSCOMPILING) + add_subdirectory(data) + endif() + +-if(TARGET Qt5::Widgets) ++if((TARGET Qt5::Widgets) AND (ENABLE_EXAMPLES)) + add_subdirectory(examples) + endif() +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906231339.x5NDdZ2J079744>