pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Please review & submit net/unbound/buildlink3.mk (needed for wip/getdns)



I didn't know about pkgtools/createbuildlink. From now on I'm going to use it. Thanks!

I added unbound maintainer's email to CC of my original e-mail, so he will read it too.

--
Aleksej Lebedev

On 2017-05-05 14:00, Angel M. Adames wrote:
Hello,

I think it's easier to use pkgtools/createbuildlink package. It
automatically creates the .mk build link file for you. It has save me
time in multiple situations. Hope that it helps.

Regarding the net/bound package, you can ask the maintainer to add the
buildlink file thus it can be include in future pkgsrc updates.

I'm new to pkgsrc, so maybe there's something I'm missing? The pros
will tell you.

Regards,

Angel Adames.

------ Original Message ------
From: "Aleksej Lebedev" <root%zta.lk@localhost>
To: pkgsrc-users%netbsd.org@localhost
Cc: pettai%netbsd.org@localhost
Sent: 5/5/2017 6:04:00 AM
Subject: Please review & submit net/unbound/buildlink3.mk (needed for
wip/getdns)

Hi, everyone!

I have created a pkgsrc package for getdns (https://getdnsapi.net/) and about to submit it to pkgsrc-wip, but in order to make it work I had to add buildlink3.mk to net/unbound because getdns uses unbound's headers/libs.

I am not familiar with the internals of the buildlink3 framework, so I just used another buildlink3.mk as an example. Could one of the more experienced users review it and submit to pkgsrc so that I can submit my wip/getdens.

Thanks in advance!

Here is my net/unbound/buildlink3.mk:

# $NetBSD$

BUILDLINK_TREE+=	unbound

.if !defined(UNBOUND_BUILDLINK3_MK)
UNBOUND_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.unbound+=	unbound>=1.6.0
BUILDLINK_ABI_DEPENDS.unbound+=	unbound>=1.6.0
BUILDLINK_PKGSRCDIR.unbound?=	../../net/unbound

.include "../../textproc/expat/buildlink3.mk"
.endif # UNBOUND_BUILDLINK3_MK

BUILDLINK_TREE+=	-unbound


-- Aleksej Lebedev

--
Aleksej Lebedev


Home | Main Index | Thread Index | Old Index