1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Framework: Use WRK_ENV when handling USE_LOCALE

PR:		276478
This commit is contained in:
Gleb Popov 2024-03-28 09:21:00 +03:00
parent aa4ef7ee99
commit bf8e12d3e7
3 changed files with 4 additions and 5 deletions

View File

@ -2012,8 +2012,7 @@ ERROR+= "Unknown USES=${f:C/\:.*//}"
. endif
. if defined(USE_LOCALE)
CONFIGURE_ENV+= LANG=${USE_LOCALE} LC_ALL=${USE_LOCALE}
MAKE_ENV+= LANG=${USE_LOCALE} LC_ALL=${USE_LOCALE}
WRK_ENV+= LANG=${USE_LOCALE} LC_ALL=${USE_LOCALE}
. endif
# Macro for doing in-place file editing using regexps. REINPLACE_ARGS may only

View File

@ -135,7 +135,7 @@ CONFIGURE_ARGS+= --with-system-libffi --with-ffi-includes=${LOCALBASE}/include -
CONFIGURE_ENV+= CC=${CC} CXX=${CXX}
SHEBANG_FILES+= hadrian/bootstrap/bootstrap.py
HADRIAN_CMD= ${WRKSRC}/hadrian/bootstrap/_build/bin/hadrian ${HADRIAN_DOCS_ARG} ${HADRIAN_GMP_ARG}
DO_MAKE_BUILD= ${SETENV} ${MAKE_ENV} ${HADRIAN_CMD} ${_MAKE_JOBS} --flavour=ports
DO_MAKE_BUILD= ${SETENVI} ${WRK_ENV} ${HADRIAN_CMD} ${_MAKE_JOBS} --flavour=ports
ALL_TARGET= binary-dist-dir
INSTALL_WRKSRC= ${WRKSRC}/_build/bindist/ghc-${GHC_VERSION}-${CONFIGURE_TARGET}
INSTALL_TARGET= install

View File

@ -18,7 +18,7 @@ USE_LOCALE= en_US.UTF-8
SCILAB_CMD= ${LOCALBASE}/bin/scilab-adv-cli
SCILAB_ARGS= -noatomsautoload -nb -nouserstartup
MAKE_ENV= SCI_JAVA_ENABLE_HEADLESS=1 SCI_DISABLE_TK=1
WRK_ENV= SCI_JAVA_ENABLE_HEADLESS=1 SCI_DISABLE_TK=1
DOS2UNIX_FILES= etc/swt.start
CONTRIBDIR?= share/scilab/contrib
@ -57,7 +57,7 @@ pre-build:
do-build:
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${SCILAB_CMD} ${SCILAB_ARGS} -f builder.sce
${SETENVI} ${WRK_ENV} ${SCILAB_CMD} ${SCILAB_ARGS} -f builder.sce
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${TOOLBOXDIR} "-name *\.so -or -name loader*\.sce"