| @@ -1,38 +1,38 @@ | | | @@ -1,38 +1,38 @@ |
1 | # $NetBSD: Makefile,v 1.73 2023/11/08 13:18:53 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.74 2023/12/14 11:29:19 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= libgit2-1.7.1 | | 3 | DISTNAME= libgit2-1.7.1 |
4 | PKGREVISION= 2 | | 4 | PKGREVISION= 2 |
5 | CATEGORIES= devel | | 5 | CATEGORIES= devel |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=libgit2/} | | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=libgit2/} |
7 | GITHUB_TAG= v${PKGVERSION_NOREV} | | 7 | GITHUB_TAG= v${PKGVERSION_NOREV} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://libgit2.org/ | | 10 | HOMEPAGE= https://libgit2.org/ |
11 | COMMENT= Portable, pure C implementation of the Git core methods | | 11 | COMMENT= Portable, pure C implementation of the Git core methods |
12 | LICENSE= gnu-gpl-v2 # linking exception (linking allowed in more ways) | | 12 | LICENSE= gnu-gpl-v2 # linking exception (linking allowed in more ways) |
13 | | | 13 | |
14 | USE_LANGUAGES= c99 | | 14 | USE_LANGUAGES= c99 |
15 | USE_TOOLS+= pkg-config | | 15 | USE_TOOLS+= pkg-config |
16 | | | 16 | |
17 | CMAKE_ARGS+= -DREGEX_BACKEND="pcre2" | | 17 | CMAKE_ARGS+= -DREGEX_BACKEND="pcre2" |
18 | | | 18 | |
19 | PKGCONFIG_OVERRIDE+= ${CMAKE_BUILD_DIR}/libgit2.pc | | 19 | PKGCONFIG_OVERRIDE+= ${CMAKE_BUILD_DIR}/libgit2.pc |
20 | PKGCONFIG_OVERRIDE_STAGE= pre-install | | 20 | PKGCONFIG_OVERRIDE_STAGE= pre-install |
21 | | | 21 | |
22 | BUILDLINK_TRANSFORM+= rm:-Werror | | 22 | BUILDLINK_TRANSFORM+= rm:-Werror |
23 | | | 23 | |
24 | # as of 1.7.1, 2 tests fail (with 2 and 1 subtest each) | | 24 | # In some environments, two tests might fail with permission problems |
25 | # https://github.com/libgit2/libgit2/issues/6647 | | 25 | # https://github.com/libgit2/libgit2/issues/6647 |
26 | do-test: | | 26 | do-test: |
27 | cd ${WRKSRC}/${CMAKE_BUILD_DIR} && ctest | | 27 | cd ${WRKSRC}/${CMAKE_BUILD_DIR} && ctest |
28 | | | 28 | |
29 | .include "../../devel/cmake/build.mk" | | 29 | .include "../../devel/cmake/build.mk" |
30 | .include "../../devel/zlib/buildlink3.mk" | | 30 | .include "../../devel/zlib/buildlink3.mk" |
31 | .include "../../devel/pcre2/buildlink3.mk" | | 31 | .include "../../devel/pcre2/buildlink3.mk" |
32 | .include "../../security/libssh2/buildlink3.mk" | | 32 | .include "../../security/libssh2/buildlink3.mk" |
33 | .include "../../security/openssl/buildlink3.mk" | | 33 | .include "../../security/openssl/buildlink3.mk" |
34 | # for tests | | 34 | # for tests |
35 | .include "../../lang/python/pyversion.mk" | | 35 | .include "../../lang/python/pyversion.mk" |
36 | .include "../../www/curl/buildlink3.mk" | | 36 | .include "../../www/curl/buildlink3.mk" |
37 | .include "../../www/http-parser/buildlink3.mk" | | 37 | .include "../../www/http-parser/buildlink3.mk" |
38 | .include "../../mk/bsd.pkg.mk" | | 38 | .include "../../mk/bsd.pkg.mk" |