Skip to content

Commit

Permalink
devel/pkgconf: update to 2.0.2
Browse files Browse the repository at this point in the history
PR:		272934
exp-run:	antoine
  • Loading branch information
bapt committed Sep 1, 2023
1 parent 3312d02 commit 8e3a5d9
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Mk/Uses/cabal.mk
Expand Up @@ -324,7 +324,7 @@ cabal-pre-configure:
. if !target(do-build)
do-build:
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${CABAL_HOME_ENV} ${CABAL_CMD} build --offline --disable-benchmarks --disable-tests ${CABAL_WITH_ARGS} ${CABAL_LTO_ARGS} --flags "${CABAL_FLAGS}" ${BUILD_ARGS} ${BUILD_TARGET}
${SETENV} ${MAKE_ENV} ${CABAL_HOME_ENV} ${CABAL_CMD} build --verbose --offline --disable-benchmarks --disable-tests ${CABAL_WITH_ARGS} ${CABAL_LTO_ARGS} --flags "${CABAL_FLAGS}" ${BUILD_ARGS} ${BUILD_TARGET}
. endif

. if !target(do-install)
Expand Down
2 changes: 1 addition & 1 deletion devel/pkgconf/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pkgconf
PORTVERSION= 1.8.1
PORTVERSION= 2.0.2
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= https://distfiles.ariadne.space/${PORTNAME}/
Expand Down
6 changes: 3 additions & 3 deletions devel/pkgconf/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1674555959
SHA256 (pkgconf-1.8.1.tar.xz) = 644361ada2942be05655d4452eb018791647c31bba429b287f1f68deb2dc6840
SIZE (pkgconf-1.8.1.tar.xz) = 302372
TIMESTAMP = 1692601113
SHA256 (pkgconf-2.0.2.tar.xz) = ea5a25ef8f251eb5377ec0e21c75fb61894433cfbdbf0b2559ba33e4c2664401
SIZE (pkgconf-2.0.2.tar.xz) = 310604
13 changes: 13 additions & 0 deletions devel/pkgconf/files/patch-modversion-comparison
@@ -0,0 +1,13 @@
diff --git cli/main.c cli/main.c
index 25ff5ca..d75bbb7 100644
--- cli/main.c
+++ cli/main.c
@@ -306,7 +306,7 @@ apply_modversion(pkgconf_client_t *client, pkgconf_pkg_t *world, void *data, int
pkgconf_dependency_t *dep = world_iter->data;
pkgconf_pkg_t *pkg = dep->match;

- if (strncmp(pkg->id, queue_node->package, strlen(pkg->id)))
+ if (strcmp(pkg->id, queue_node->package))
continue;

if (pkg->version != NULL) {
5 changes: 3 additions & 2 deletions devel/pkgconf/pkg-plist
@@ -1,3 +1,4 @@
bin/bomtool
bin/pkg-config
bin/pkgconf
include/pkgconf/libpkgconf/bsdstubs.h
Expand All @@ -7,8 +8,8 @@ include/pkgconf/libpkgconf/libpkgconf.h
include/pkgconf/libpkgconf/stdinc.h
lib/libpkgconf.a
lib/libpkgconf.so
lib/libpkgconf.so.3
lib/libpkgconf.so.3.0.0
lib/libpkgconf.so.4
lib/libpkgconf.so.4.0.0
libdata/pkgconfig/libpkgconf.pc
man/man1/pkgconf.1.gz
man/man5/pc.5.gz
Expand Down

0 comments on commit 8e3a5d9

Please sign in to comment.