Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2021 12:02:58 GMT
From:      Lewis Cook <lcook@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: dba0d9a7d3aa - main - textproc/askgit: Unbreak build with git2go
Message-ID:  <202104211202.13LC2wdb052999@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by lcook:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dba0d9a7d3aa6d75a1b90007b2def888bb67fb88

commit dba0d9a7d3aa6d75a1b90007b2def888bb67fb88
Author:     Lewis Cook <lcook@FreeBSD.org>
AuthorDate: 2021-04-21 11:48:51 +0000
Commit:     Lewis Cook <lcook@FreeBSD.org>
CommitDate: 2021-04-21 12:02:45 +0000

    textproc/askgit: Unbreak build with git2go
    
    Whilst building git2go, it is necessary such that we have
    pkg-config installed.  Prior to this update, we would fail
    building as indicated by:
    
    pkg-config --cflags  -- libgit2
    pkg-config: exec: "pkg-config": executable file not found in $PATH
    
    Remedy this behaviour by adding `USES=  pkgconfig`.
    
    Reported by:    pkg-fallout
---
 textproc/askgit/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/textproc/askgit/Makefile b/textproc/askgit/Makefile
index bded48316be1..f47330d651a8 100644
--- a/textproc/askgit/Makefile
+++ b/textproc/askgit/Makefile
@@ -11,7 +11,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libgit2.so:devel/libgit2
 
-USES=		go:modules
+USES=		go:modules pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	augmentable-dev
 GH_TUPLE=	DATA-DOG:go-sqlmock:v1.5.0:data_dog_go_sqlmock/vendor/github.com/DATA-DOG/go-sqlmock \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104211202.13LC2wdb052999>