From ec23c381ca9735cce61b214ca3e2faa5092e08b5 Mon Sep 17 00:00:00 2001 From: lotherk Date: Tue, 17 Nov 2026 16:29:55 +0000 Subject: [PATCH] mcde: build wm/mcde without Go; the WhatsApp adapter is its own package configure found the build host's go, and programs/dtchat built dtchat-whatsapp with it: a host binary, from modules pkgsrc's build phase may not download (http_proxy=downloads-forbidden-except-during-fetch, build/logs/userland-2026-11-17c.log:19467). PLIST.whatsapp is never set, so the package never wanted the file. The two commits that let go download (38d293c454, 6f23f4e232) are reverted. --- pkgsrc/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgsrc/Makefile b/pkgsrc/Makefile index 5ba80649..27aa836c 100644 --- a/pkgsrc/Makefile +++ b/pkgsrc/Makefile @@ -49,6 +49,14 @@ CONFIGURE_ENV+= ac_cv_path_KSH=${PREFIX}/bin/ksh93 # showed instead of Makronix's (Konrad, 2026-11-17). The target's xrdb is the # X11 base's. CONFIGURE_ENV+= ac_cv_path_XRDB=${X11BASE}/bin/xrdb +# configure.ac: AC_PATH_PROG(GO, go) finds the BUILD host's go, and +# programs/dtchat then builds the WhatsApp adapter with it: a host binary +# (no GOOS for the target), from modules that pkgsrc's build phase may not +# download (bsd.pkg.mk sets http_proxy=downloads-forbidden-except-during-fetch; +# build/logs/userland-2026-11-17c.log:19467). The adapter is a package of its +# own (ext/src/mcde/AGENTS.md, dtchat), so PLIST.whatsapp stays unset and +# this package is built without Go. +CONFIGURE_ENV+= ac_cv_path_GO=no CONFIGURE_ENV+= GZIP=${GZIP_CMD:Q} CONFIGURE_ARGS+= MAKE=${MAKE_PROGRAM:Q} CONFIGURE_ARGS+= --with-x