Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jun 2026 09:11:07 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9a49b7f5b439 - main - deskutils/qmd: Fix build by adding python to build
Message-ID:  <6a26872b.1ec7d.527ffff0@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9a49b7f5b439b1ea8c546c453d5e7206b76bcaf9

commit 9a49b7f5b439b1ea8c546c453d5e7206b76bcaf9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-08 09:10:29 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-08 09:10:29 +0000

    deskutils/qmd: Fix build by adding python to build
    
    Reported by:    fallout
---
 deskutils/qmd/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/deskutils/qmd/Makefile b/deskutils/qmd/Makefile
index 52cf35134b68..5b8ffce6baad 100644
--- a/deskutils/qmd/Makefile
+++ b/deskutils/qmd/Makefile
@@ -14,7 +14,7 @@ FETCH_DEPENDS=	jq:textproc/jq \
 		npm:www/npm \
 		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
 
-USES=		gmake nodejs:build,run sqlite
+USES=		gmake nodejs:build,run python:build sqlite
 
 PACKAGE_NAME=	@tobilu/qmd
 
@@ -83,7 +83,7 @@ do-build:
 	@${CP} ${WRKDIR}/sqlite-vec-src-${SQLITE_VEC_VERSION}/dist/vec0.so ${WRKSRC}/node_modules/${PACKAGE_NAME}/node_modules/sqlite-vec/
 	@${ECHO_MSG} "====> Building better-sqlite3 for FreeBSD..."
 	@cd ${WRKDIR}/better-sqlite3-${dep_better_sqlite3_version}/node_modules/${dep_better_sqlite3_npm_name} && \
-		${SETENV} HOME=${WRKDIR} CFLAGS="-I${LOCALBASE}/include" CXXFLAGS="-I${LOCALBASE}/include" \
+		${SETENV} HOME=${WRKDIR} CFLAGS="-I${LOCALBASE}/include" CXXFLAGS="-I${LOCALBASE}/include" PYTHON=${PYTHON_CMD} \
 			npm rebuild --nodedir=${LOCALBASE} && \
 		${MKDIR} ${WRKSRC}/node_modules/${PACKAGE_NAME}/node_modules/better-sqlite3/build/Release && \
 		${CP} build/Release/better_sqlite3.node ${WRKSRC}/node_modules/${PACKAGE_NAME}/node_modules/better-sqlite3/build/Release/


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a26872b.1ec7d.527ffff0>