Date: Thu, 21 Jan 2021 22:20:40 +0000 (UTC) From: "Jason E. Hale" <jhale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562251 - head/Mk/Uses Message-ID: <202101212220.10LMKehx086702@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhale Date: Thu Jan 21 22:20:40 2021 New Revision: 562251 URL: https://svnweb.freebsd.org/changeset/ports/562251 Log: Mk/Uses/kde.mk: Allow ports that use the KDE framework to build regression tests when TEST_TARGET is defined. Approved by: tcberner Differential Revision: https://reviews.freebsd.org/D28271 Modified: head/Mk/Uses/kde.mk Modified: head/Mk/Uses/kde.mk ============================================================================== --- head/Mk/Uses/kde.mk Thu Jan 21 22:18:38 2021 (r562250) +++ head/Mk/Uses/kde.mk Thu Jan 21 22:20:40 2021 (r562251) @@ -150,14 +150,18 @@ CMAKE_ARGS+= -DCMAKE_PREFIX_PATH="${LOCALBASE}" # We set KDE_INSTALL_USE_QT_SYS_PATHS to install mkspecs files, plugins and # imports to the Qt 5 install directory. -CMAKE_ARGS+= -DBUILD_TESTING:BOOL=OFF \ - -DCMAKE_MODULE_PATH="${LOCALBASE};${KDE_PREFIX}" \ +CMAKE_ARGS+= -DCMAKE_MODULE_PATH="${LOCALBASE};${KDE_PREFIX}" \ -DCMAKE_INSTALL_PREFIX="${KDE_PREFIX}" \ -DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=true # Set man-page installation prefix. CMAKE_ARGS+= -DKDE_INSTALL_MANDIR:PATH="${KDE_PREFIX}/man" \ -DMAN_INSTALL_DIR:PATH="${KDE_PREFIX}/man" + +# Disable autotests unless TEST_TARGET is defined. +. if !defined(TEST_TARGET) +CMAKE_ARGS+= -DBUILD_TESTING:BOOL=false +. endif # ============================================================================== # === SET UP PLIST_SUB =========================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101212220.10LMKehx086702>