Fix build (extract) with static bsdtar(1)

tar: Pathname can't be converted from UTF-8 to current locale.
tar: Error exit delayed from previous errors.
*** Error code 1

See more details for the same issue in bug 246618.

Reported by:	pkg-fallout
Approved by:	portmgr blanket
This commit is contained in:
Danilo G. Baio 2020-08-01 18:17:52 +00:00
parent b5bc25b363
commit 021ac02521
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543918
6 changed files with 18 additions and 0 deletions

View File

@ -29,4 +29,7 @@ RUN_DEPENDS= beancount>=2.1.3:finance/beancount \
USES= python:3.5+ # same as finance/beancount
USE_PYTHON= autoplist distutils noflavors
# Upstream archive contains files with UTF-8 names
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
.include <bsd.port.mk>

View File

@ -23,6 +23,9 @@ SUB_FILES= pkg-install
WRKSRC= ${WRKDIR}/${DISTNAME}
PORTDOCS= LICENSE_M+.txt LICENSE_OFL.txt README.md
# Upstream archive contains files with UTF-8 names
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
OPTIONS_DEFINE= DOCS
do-install:

View File

@ -23,6 +23,9 @@ SUB_FILES= pkg-install
WRKSRC= ${WRKDIR}/${DISTNAME}
PORTDOCS= LICENSE_M+.txt LICENSE_OFL.txt README.md
# Upstream archive contains files with UTF-8 names
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
OPTIONS_DEFINE= DOCS
do-install:

View File

@ -49,6 +49,9 @@ CONFIGURE_SHELL= ${bash_CMD}
TEST_TARGET= check
# Upstream archive contains files with UTF-8 names
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
OPTIONS_DEFINE= DOCS PLUGIN RHINO TAGSOUP
OPTIONS_DEFAULT=PLUGIN
OPTIONS_SUB= yes

View File

@ -44,6 +44,9 @@ USE_PYTHON= distutils autoplist concurrent
NO_ARCH= yes
# Upstream archive contains files with UTF-8 names
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
post-patch:
${REINPLACE_CMD} "s,share/doc/dfvfs,${DOCSDIR_REL}," ${WRKSRC}/setup.py

View File

@ -29,6 +29,9 @@ USE_PYTHON= distutils autoplist noflavors
NO_ARCH= yes
PLIST_FILES= share/applications/${PORTNAME}-${PYTHON_VER}.desktop
# Upstream archive contains files with UTF-8 names
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
OPTIONS_MULTI= BACKEND
OPTIONS_MULTI_BACKEND= WEBKIT WEBENGINE
OPTIONS_DEFAULT= WEBKIT