From owner-dev-commits-ports-all@freebsd.org Tue Apr 20 10:25:19 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D0775EF9D7; Tue, 20 Apr 2021 10:25:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FPfvg2b48z4YhY; Tue, 20 Apr 2021 10:25:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4B5F010E4F; Tue, 20 Apr 2021 10:25:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13KAPJpW005559; Tue, 20 Apr 2021 10:25:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13KAPJNQ005558; Tue, 20 Apr 2021 10:25:19 GMT (envelope-from git) Date: Tue, 20 Apr 2021 10:25:19 GMT Message-Id: <202104201025.13KAPJNQ005558@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Adriaan de Groot Subject: git: 620d7678c819 - main - kde.mk: Support KDE ports with no DOCS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adridg X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 620d7678c819d85f9236d2e307009a5aca088970 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2021 10:25:19 -0000 The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=620d7678c819d85f9236d2e307009a5aca088970 commit 620d7678c819d85f9236d2e307009a5aca088970 Author: Adriaan de Groot AuthorDate: 2021-04-20 10:22:00 +0000 Commit: Adriaan de Groot CommitDate: 2021-04-20 10:25:17 +0000 kde.mk: Support KDE ports with no DOCS The kde.mk framework automatically does DOCS for KDE ports -- but not all of them have documentation, so then you get a weird situation of OPTIONS_DEFINE=DOCS in a port that has no documentation (e.g. sysutils/baloo-widgets) where the option has no effect at all. Massage the machinery a little so that the bogus option can be dropped; KDE ports with no docs should not define a DOCS option any more. PR: 252363 --- Mk/Uses/kde.mk | 7 ++++++- sysutils/baloo-widgets/Makefile | 2 -- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Mk/Uses/kde.mk b/Mk/Uses/kde.mk index 8556bb1d5cca..5ddeeccd61f7 100644 --- a/Mk/Uses/kde.mk +++ b/Mk/Uses/kde.mk @@ -155,9 +155,14 @@ MASTER_SITES?= KDE/${KDE_APPLICATIONS_BRANCH}/applications/${KDE_APPLICATIONS_V MASTER_SITES?= KDE/${KDE_APPLICATIONS_BRANCH}/release-service/${KDE_APPLICATIONS_VERSION}/src # Let bsd.port.mk create the plist-entries for the documentation. # KDE Applications ports install their documentation to -# ${PREFIX}/share/doc. +# ${PREFIX}/share/doc. This is only done if the port +# defines OPTION DOCS -- the _KDE_OPTIONS here is to +# avoid make errors when there are no options defined at all. +_KDE_OPTIONS= bogus ${OPTIONS_DEFINE} +. if ${_KDE_OPTIONS:MDOCS} DOCSDIR= ${PREFIX}/share/doc PORTDOCS?= HTML/* +. endif # Further pass along a SHLIB_VER PLIST_SUB PLIST_SUB+= KDE_APPLICATIONS_SHLIB_VER=${KDE_APPLICATIONS_SHLIB_VER} \ KDE_APPLICATIONS_VERSION_SHORT="${KDE_APPLICATIONS_VERSION:R:R}" diff --git a/sysutils/baloo-widgets/Makefile b/sysutils/baloo-widgets/Makefile index 56a2bb97a391..916b6ddc7c77 100644 --- a/sysutils/baloo-widgets/Makefile +++ b/sysutils/baloo-widgets/Makefile @@ -13,8 +13,6 @@ USE_QT= concurrent core dbus gui network testlib widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes -OPTIONS_DEFINE= DOCS - # Override shared library version KDE_APPLICATIONS_SHLIB_VER=${KDE_APPLICATIONS_VERSION}