summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2025-08-07 22:36:03 +0200
committerDaniel Engberg <diizzy@FreeBSD.org>2025-08-07 22:36:11 +0200
commitdf0f4a4203e1c7ea4abe2c7fa04e0315ae182d1c (patch)
tree077d201ca8dc86be65c4122f8ef583db82799cc0
parentdevel/bstring: Convert to meson (diff)
devel/bstring: Fix 'make test' and fetch patch from upstream
Add MESON_ARGS which got lost in previous commit and while at it fetch upstream patch instead of hosting a local one in tree
-rw-r--r--devel/bstring/Makefile5
-rw-r--r--devel/bstring/distinfo4
-rw-r--r--devel/bstring/files/patch-bstring_meson.build10
3 files changed, 8 insertions, 11 deletions
diff --git a/devel/bstring/Makefile b/devel/bstring/Makefile
index 8a2e604562d3..4e66c5dee1e9 100644
--- a/devel/bstring/Makefile
+++ b/devel/bstring/Makefile
@@ -3,6 +3,9 @@ DISTVERSION= 1.0.1
CATEGORIES= devel
MASTER_SITES= https://github.com/msteinert/${PORTNAME}/releases/download/v${DISTVERSION}/
+PATCH_SITES= https://github.com/msteinert/bstring/commit/
+PATCHFILES= 251cf825eaf66e04736921330c8e847ffe6d9ee0.patch:-p1
+
MAINTAINER= diizzy@FreeBSD.org
COMMENT= Improved string processing functionality for the C language
WWW= https://mike.steinert.ca/bstring/
@@ -17,4 +20,6 @@ USE_LDCONFIG= yes
TEST_TARGET= test
+MESON_ARGS= -Denable-tests=true
+
.include <bsd.port.mk>
diff --git a/devel/bstring/distinfo b/devel/bstring/distinfo
index 337c5a4d1c3b..676dffe31fd5 100644
--- a/devel/bstring/distinfo
+++ b/devel/bstring/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1754582069
+TIMESTAMP = 1754605617
SHA256 (bstring-1.0.1.tar.xz) = a86b6b30f4ad2496784cc7f53eb449c994178b516935384c6707f381b9fe6056
SIZE (bstring-1.0.1.tar.xz) = 93096
+SHA256 (251cf825eaf66e04736921330c8e847ffe6d9ee0.patch) = 63ce0f815fe5622bf819aa02ec48567b1bf49e8191e8a85bc96b9e2c637460e8
+SIZE (251cf825eaf66e04736921330c8e847ffe6d9ee0.patch) = 767
diff --git a/devel/bstring/files/patch-bstring_meson.build b/devel/bstring/files/patch-bstring_meson.build
deleted file mode 100644
index d4dcc6ba3b00..000000000000
--- a/devel/bstring/files/patch-bstring_meson.build
+++ /dev/null
@@ -1,10 +0,0 @@
---- bstring/meson.build.orig 2025-08-07 18:53:46 UTC
-+++ bstring/meson.build
-@@ -7,7 +7,6 @@ libbstring = library(
- soversion: '1',
- include_directories: bstring_inc,
- install: true,
-- install_dir: get_option('libdir'),
- )
-
- bstring_dep = declare_dependency(include_directories: bstring_inc, link_with: libbstring)