NetBSD Problem Report #56104

From  Tue Apr 13 04:58:47 2021
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 47EF01A9217
	for <>; Tue, 13 Apr 2021 04:58:47 +0000 (UTC)
Message-Id: <>
Date: Tue, 13 Apr 2021 04:58:45 +0000 (UTC)
Subject: oath-toolkit: provide -doc option
X-Send-Pr-Version: www-1.0

>Number:         56104
>Category:       pkg
>Synopsis:       oath-toolkit: provide -doc option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pettai
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 13 05:00:00 +0000 2021
>Last-Modified:  Tue Apr 13 18:52:32 +0000 2021
>Originator:     Paul W. Rankin
>Release:        trunk a262346a
Darwin nostromo.local 17.7.0 Darwin Kernel Version 17.7.0: Fri Oct 30 13:34:27 PDT 2020; root:xnu-4570.71.82.8~1/RELEASE_X86_64 x86_64

Building oath-toolkit requires gtk-doc by default, which pulls in a load of extra dependencies. However, gtk-doc is only required to build the API documentation, and oath-toolkit can be built without it.

I'd like to request that oath-toolkit use the options framework with an added -doc option (which may remain enabled by default) to build oath-toolkit without requiring gtk-doc.
cd security/oath-toolkit; bmake clean install
Add to Makefile:
# TOOL_DEPENDS+=	gtk-doc-[0-9]*:../../textproc/gtk-doc


From: nia <>
Subject: Re: pkg/56104: oath-toolkit: provide -doc option
Date: Tue, 13 Apr 2021 08:46:38 +0000

 It's probable there doesn't need to be an option - gtk-doc
 generates HTML documentation, typically used on project websites,
 while oath-toolkit already installs man pages for its API.

 I don't think this is the right fix, but I can look into it
 and hopefully update the package at the same time.

From: "Paul W. Rankin" <>
Subject: Re: pkg/56104: oath-toolkit: provide -doc option
Date: Tue, 13 Apr 2021 18:30:45 +1000

 I'm sorry but my suggested fix does not successfully build. (Without =
 realising I was building with gtk-doc still installed.)

 However, the oath-toolkit developer has assured me that it is possible =
 to build without gtk-doc:

Responsible-Changed-From-To: pkg-manager->pettai
Responsible-Changed-When: Tue, 13 Apr 2021 18:52:32 +0000
Over to maintainer.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.