Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160796277
D57295.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
975 B
Referenced Files
None
Subscribers
None
D57295.diff
View Options
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -680,6 +680,7 @@
#
# For extract:
#
+# EXTRACT_ENV - Environment to pass to ${EXTRACT_CMD}
# EXTRACT_CMD - Command for extracting archive
# Default: ${TAR}
# EXTRACT_BEFORE_ARGS
@@ -2143,6 +2144,7 @@
TAR?= /usr/bin/tar
# EXTRACT_SUFX is defined in .pre.mk section
+EXTRACT_ENV?= LC_ALL=C.UTF-8
EXTRACT_CMD?= ${TAR}
EXTRACT_BEFORE_ARGS?= -xf
EXTRACT_AFTER_ARGS?= --no-same-owner --no-same-permissions
@@ -3209,7 +3211,8 @@
. if !target(do-extract)
do-extract: ${EXTRACT_WRKDIR}
@for file in ${EXTRACT_ONLY}; do \
- if ! (cd ${EXTRACT_WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\
+ if ! (cd ${EXTRACT_WRKDIR} && ${EXTRACT_ENV} ${EXTRACT_CMD} \
+ ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\
then \
${ECHO_MSG} "===> Failed to extract \"${_DISTDIR}/$$file\"."; \
exit 1; \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jun 28, 11:20 PM (15 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33613317
Default Alt Text
D57295.diff (975 B)
Attached To
Mode
D57295: Mk/bsd.port.mk: Add EXTRACT_ENV
Attached
Detach File
Event Timeline
Log In to Comment