On 16/05/2025 12:09, Ronald Klop wrote:
Hi,
I have some variables in CONFIGURE_ENV in my port database/mongodb70,
but I do not see those used in the do-configure action.
CONFIGURE_ENV+= M4=${LOCALBASE}/bin/gm4
do-configure:
# Replacement of ${WRKSRC}/src/third_party/mozjs/get-sources.sh
${LN} -sF ${WRKDIR}/spidermonkey-${MOZJS_TAG} ${WRKSRC}/src/
third_party/mozjs/mozilla-release
cd ${WRKSRC}/src/third_party/mozjs && PYTHON3="${PYTHON_CMD}"
${SH} ./gen-config.sh ${MOZJS_ARCH} freebsd
If you override the 'do-configure' stage you need to use CONFIGURE_ENV
there, like:
${CONFIGURE_ENV} PYTHON3="${PYTHON_CMD}" ${SH} ./gen-config.sh
${MOZJS_ARCH} freebsd
--
Alex Dupre