NetBSD Problem Report #58647

From www@netbsd.org  Mon Aug 26 10:36:10 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 0AC121A923F
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 26 Aug 2024 10:36:10 +0000 (UTC)
Message-Id: <20240826103608.747151A9241@mollari.NetBSD.org>
Date: Mon, 26 Aug 2024 10:36:08 +0000 (UTC)
From: drixter@e-utp.net
Reply-To: drixter@e-utp.net
To: gnats-bugs@NetBSD.org
Subject: Add buildlink3.mk to net/knot
X-Send-Pr-Version: www-1.0

>Number:         58647
>Category:       pkg
>Synopsis:       Add buildlink3.mk to net/knot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pettai
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 26 10:40:01 +0000 2024
>Last-Modified:  Mon Aug 26 10:43:24 +0000 2024
>Originator:     Marcin Gondek
>Release:        pkgsrc current
>Organization:
e-utp.net
>Environment:
NetBSD devil.e-utp.net 10.99.11 NetBSD 10.99.11 (DEVIL) #4: Fri Aug 23 22:42:19 CEST 2024  root@devil.e-utp.net:/usr/obj/sys/arch/amd64/compile/DEVIL amd64
>Description:
Hi

Could you add buildlink3.mk to net/knot, this allow me to build knot-resolver package based on "libknot" delivered by knot.

Default, below one did a trick:

# $NetBSD$
# XXX
# XXX This file was created automatically using createbuildlink-3.19.
# XXX After this file has been verified as correct, the comment lines
# XXX beginning with "XXX" should be removed.  Please do not commit
# XXX unverified buildlink3.mk files.

BUILDLINK_TREE+=        knot

.if !defined(KNOT_BUILDLINK3_MK)
KNOT_BUILDLINK3_MK:=

# XXX
# XXX Packages that only install static libraries or headers should
# XXX include the following line:
# XXX
# XXX   BUILDLINK_DEPMETHOD.knot?=      build

BUILDLINK_API_DEPENDS.knot+=    knot>=3.3.8
BUILDLINK_PKGSRCDIR.knot?=      ../../net/knot

# XXX
# XXX Uncomment and keep only the buildlink3 lines below which are directly
# XXX needed for dependencies to compile, link, and run.  If this package
# XXX provides a wrappered API or otherwise does not expose the APIs of the
# XXX buildlink3 lines below to dependencies, remove them.
# XXX
#.include "../../databases/lmdb/buildlink3.mk"
#.include "../../devel/editline/buildlink3.mk"
#.include "../../devel/libidn/buildlink3.mk"
#.include "../../devel/userspace-rcu/buildlink3.mk"
#.include "../../devel/zlib/buildlink3.mk"
#.include "../../security/gnutls/buildlink3.mk"
#.include "../../textproc/jansson/buildlink3.mk"
.endif  # KNOT_BUILDLINK3_MK

BUILDLINK_TREE+=        -knot

>How-To-Repeat:
Always
>Fix:
Create buildlink
createbuildlink > buildlink3.mk

Review, commit.

PS: I hope that I've requested it properly.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->pettai
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 26 Aug 2024 10:43:24 +0000
Responsible-Changed-Why:
Over to maintainer


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.