pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

victorialogs: Disable cgo



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Fri Jul 18 21:30:32 2025 +0200
Changeset:	2a7c6c00ffd793668e9130b56969dabb1027cd52

Modified Files:
	victorialogs/Makefile
	victorialogs/PLIST
Removed Files:
	victorialogs/TODO

Log Message:
victorialogs: Disable cgo

Pass CGO_ENABLED=0 so no zstd is compiled.

Only build and install tested!

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2a7c6c00ffd793668e9130b56969dabb1027cd52

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 victorialogs/Makefile | 3 ++-
 victorialogs/PLIST    | 2 ++
 victorialogs/TODO     | 8 --------
 3 files changed, 4 insertions(+), 9 deletions(-)

diffs:
diff --git a/victorialogs/Makefile b/victorialogs/Makefile
index f00dabbb3b..8614e09079 100644
--- a/victorialogs/Makefile
+++ b/victorialogs/Makefile
@@ -11,6 +11,8 @@ HOMEPAGE=	https://github.com/VictoriaMetrics/VictoriaLogs/
 COMMENT=	Fast and easy to use database for logs
 LICENSE=	apache-2.0
 
+MAKE_ENV+=	CGO_ENABLED=0
+
 WRKSRC=		${WRKDIR}/${DISTNAME}
 
 GO_BUILD_PATTERN+=	-ldflags ' \
@@ -20,5 +22,4 @@ GO_BUILD_PATTERN+=	./app/victoria-logs
 .include "go-modules.mk"
 
 .include "../../lang/go/go-module.mk"
-.include "../../archivers/zstd/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/victorialogs/PLIST b/victorialogs/PLIST
index e69de29bb2..6ea302b7b0 100644
--- a/victorialogs/PLIST
+++ b/victorialogs/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/victoria-logs
diff --git a/victorialogs/TODO b/victorialogs/TODO
deleted file mode 100644
index 839e5f45c9..0000000000
--- a/victorialogs/TODO
+++ /dev/null
@@ -1,8 +0,0 @@
-Build fails because zstd could not be found:
-
-[...]
-... undefined reference to `ZDICT_isError'
-[...]
-
-Investigate what it is going on. Probably look how/if OpenBSD works.
-


Home | Main Index | Thread Index | Old Index