pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libgit2 libgit2: include pcre in buildlink3 file



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f975ca347032
branches:  trunk
changeset: 771651:f975ca347032
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Tue Dec 21 14:01:26 2021 +0000

description:
libgit2: include pcre in buildlink3 file

The pkg-config file for libgit2 specifies pcre as a hard dependency, which
means that "pkg-config --libs libgit2" will exit with an error. This means
that every dependent package also depends on pcre, so add it to the list
of dependencies exposed by buildlink3.

Noticed in the pending wip/cargo-edit package, which swallows the error
message, leaving me to debug in the bowels of the Cargo build system.

diffstat:

 devel/libgit2/buildlink3.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r eeb145cb5aea -r f975ca347032 devel/libgit2/buildlink3.mk
--- a/devel/libgit2/buildlink3.mk       Tue Dec 21 10:11:25 2021 +0000
+++ b/devel/libgit2/buildlink3.mk       Tue Dec 21 14:01:26 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2020/04/06 08:33:40 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2021/12/21 14:01:26 bsiegert Exp $
 
 BUILDLINK_TREE+=       libgit2
 
@@ -9,6 +9,7 @@
 BUILDLINK_ABI_DEPENDS.libgit2+=        libgit2>=1.0
 BUILDLINK_PKGSRCDIR.libgit2?=  ../../devel/libgit2
 
+.include "../../devel/pcre2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .endif # LIBGIT2_BUILDLINK3_MK
 



Home | Main Index | Thread Index | Old Index