aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-03-19 19:26:19 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-03-19 19:26:19 +0000
commitc75ee5343b9fbe38dd8aeea90a3cf3c9f9801a91 (patch)
tree2290ed8394702065beab4b62756d87bf6def846f
parentf6102e559d8d8981ba7445501bfc2bd749defa35 (diff)
downloadports-c75ee5343b9fbe38dd8aeea90a3cf3c9f9801a91.tar.gz
ports-c75ee5343b9fbe38dd8aeea90a3cf3c9f9801a91.zip
textproc/libucl: Fix non streamlined json emitter
See for more information: https://github.com/vstakhov/libucl/commit/da7aacb3d46fbc206ec6f2431f503eed843a3039 PR: 277812 Reported by: crest@rlwinm.de
-rw-r--r--textproc/libucl/Makefile16
-rw-r--r--textproc/libucl/distinfo4
2 files changed, 11 insertions, 9 deletions
diff --git a/textproc/libucl/Makefile b/textproc/libucl/Makefile
index 88cb44db02e0..ffa337111fe7 100644
--- a/textproc/libucl/Makefile
+++ b/textproc/libucl/Makefile
@@ -1,7 +1,11 @@
PORTNAME= libucl
DISTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= textproc devel
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
+PATCHFILES= da7aacb3d46fbc206ec6f2431f503eed843a3039.patch:-p1
+
MAINTAINER= bofh@FreeBSD.org
COMMENT= Universal configuration library parser
WWW= https://github.com/vstakhov/libucl
@@ -20,11 +24,11 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-CONFLICTS_INSTALL= ucl
-
INSTALL_TARGET= install-strip
TEST_TARGET= check
+CONFLICTS_INSTALL= ucl
+
OPTIONS_DEFINE= LUA REGEX SIGNATURES URLS UTILS
OPTIONS_DEFAULT= REGEX UTILS
OPTIONS_SUB= yes
@@ -34,20 +38,16 @@ SIGNATURES_DESC= Enable signatures checking
URLS_DESC= Enable fetching URLs
UTILS_DESC= Enable tools: ucl_chargen, ucl_ucldump, ucl_tool
+LUA_USES= lua
LUA_CONFIGURE_ENABLE= lua
LUA_CONFIGURE_ENV= LUA=${LOCALBASE}/bin/${LUA_CMD}
LUA_LDFLAGS= -L${LUA_LIBDIR}
-LUA_USES= lua
-
REGEX_CONFIGURE_ENABLE= regex
-
+SIGNATURES_USES= ssl
SIGNATURES_CONFIGURE_ENABLE= signatures
SIGNATURES_CPPFLAGS= -I${OPENSSLINC}
SIGNATURES_LDFLAGS= -L${OPENSSLLIB}
-SIGNATURES_USES= ssl
-
URLS_CONFIGURE_ENABLE= urls
-
UTILS_CONFIGURE_ENABLE= utils
.include <bsd.port.mk>
diff --git a/textproc/libucl/distinfo b/textproc/libucl/distinfo
index 77bb63cc092a..0819478fc7d1 100644
--- a/textproc/libucl/distinfo
+++ b/textproc/libucl/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1707086522
+TIMESTAMP = 1710875899
SHA256 (vstakhov-libucl-0.9.0_GH0.tar.gz) = 87b233048bca7d307b14cffb882d3c198dc3fff96b19e0c3515428f027b3ebfe
SIZE (vstakhov-libucl-0.9.0_GH0.tar.gz) = 2043656
+SHA256 (da7aacb3d46fbc206ec6f2431f503eed843a3039.patch) = 23254e467ddf07979498c102b0233a6df71934c74969c3d7423a54473884ef70
+SIZE (da7aacb3d46fbc206ec6f2431f503eed843a3039.patch) = 1395