Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2024 01:33:56 GMT
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5a69132231f6 - main - devel/libgit2: Ensure LOCALBASE/include is in the include path
Message-ID:  <202404160133.43G1Xu5t035396@gitrepo.freebsd.org>

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

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

commit 5a69132231f605c6229a654e29bfcb70256817a9
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2024-04-16 01:31:14 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2024-04-16 01:31:14 +0000

    devel/libgit2: Ensure LOCALBASE/include is in the include path
    
    Add USES=localbase.
    
    [  1% 9/188] cc  -isystem /wrkdirs/usr/ports/devel/libgit2/work/libgit2-1.7.2/include -isystem /wrkdirs/usr/ports/devel/libgit2/work/libgit2-1.7.2/src/util -isystem /wrkdirs/usr/ports/devel/libgit2/work/.build/src/util -D_GNU_SOURCE -O2 -pipe  -fno-strict-aliasing -Wall -Wextra -fvisibility=hidden -fPIC -Wdocumentation -Wno-documentation-deprecated-sync -Wno-missing-field-initializers -Wmissing-declarations -Wstrict-aliasing -Wstrict-prototypes -Wdeclaration-after-statement -Wshift-count-overflow -Wunused-const-variable -Wunused-function -Wint-conversion -Wc11-extensions -Wformat -Wformat-security -O2 -pipe  -fno-strict-aliasing  -DNDEBUG -Wno-sign-compare -MD -MT deps/xdiff/CMakeFiles/xdiff.dir/xpatience.c.o -MF deps/xdiff/CMakeFiles/xdiff.dir/xpatience.c.o.d -o deps/xdiff/CMakeFiles/xdiff.dir/xpatience.c.o -c /wrkdirs/usr/ports/devel/libgit2/work/libgit2-1.7.2/deps/xdiff/xpatience.c
    FAILED: deps/xdiff/CMakeFiles/xdiff.dir/xpatience.c.o
    cc  -isystem /wrkdirs/usr/ports/devel/libgit2/work/libgit2-1.7.2/include -isystem /wrkdirs/usr/ports/devel/libgit2/work/libgit2-1.7.2/src/util -isystem /wrkdirs/usr/ports/devel/libgit2/work/.build/src/util -D_GNU_SOURCE -O2 -pipe  -fno-strict-aliasing -Wall -Wextra -fvisibility=hidden -fPIC -Wdocumentation -Wno-documentation-deprecated-sync -Wno-missing-field-initializers -Wmissing-declarations -Wstrict-aliasing -Wstrict-prototypes -Wdeclaration-after-statement -Wshift-count-overflow -Wunused-const-variable -Wunused-function -Wint-conversion -Wc11-extensions -Wformat -Wformat-security -O2 -pipe  -fno-strict-aliasing  -DNDEBUG -Wno-sign-compare -MD -MT deps/xdiff/CMakeFiles/xdiff.dir/xpatience.c.o -MF deps/xdiff/CMakeFiles/xdiff.dir/xpatience.c.o.d -o deps/xdiff/CMakeFiles/xdiff.dir/xpatience.c.o -c /wrkdirs/usr/ports/devel/libgit2/work/libgit2-1.7.2/deps/xdiff/ xpatience.c
    In file included from /wrkdirs/usr/ports/devel/libgit2/work/libgit2-1.7.2/deps/xdiff/xpatience.c:22:
    In file included from /wrkdirs/usr/ports/devel/libgit2/work/libgit2-1.7.2/deps/xdiff/xinclude.h:26:
    In file included from /wrkdirs/usr/ports/devel/libgit2/work/libgit2-1.7.2/deps/xdiff/git-xdiff.h:17:
    /wrkdirs/usr/ports/devel/libgit2/work/libgit2-1.7.2/src/util/regexp.h:19:11: fatal error: 'pcre2.h' file not found
     # include <pcre2.h>
               ^~~~~~~~~
    1 error generated.
---
 devel/libgit2/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/libgit2/Makefile b/devel/libgit2/Makefile
index 7dee02816af6..bcc79c032c9c 100644
--- a/devel/libgit2/Makefile
+++ b/devel/libgit2/Makefile
@@ -17,7 +17,7 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libpcre2-8.so:devel/pcre2 \
 		libhttp_parser.so:www/http-parser
 
-USES=		cmake:testing cpe pkgconfig python:build ssl
+USES=		cmake:testing cpe localbase pkgconfig python:build ssl
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 



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