git: dba0d9a7d3aa - main - textproc/askgit: Unbreak build with git2go

Lewis Cook lcook at FreeBSD.org
Wed Apr 21 12:02:59 UTC 2021


The branch main has been updated by lcook:

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

commit dba0d9a7d3aa6d75a1b90007b2def888bb67fb88
Author:     Lewis Cook <lcook at FreeBSD.org>
AuthorDate: 2021-04-21 11:48:51 +0000
Commit:     Lewis Cook <lcook at 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 \


More information about the dev-commits-ports-all mailing list