pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk/platform



Module Name:    pkgsrc
Committed By:   pho
Date:           Sat Jan 25 18:16:01 UTC 2025

Modified Files:
        pkgsrc/mk/platform: SunOS.mk

Log Message:
mk/platform/SunOS.mk: OmniOS: Extract files on a UTF-8 locale

Otherwise bsdtar cannot extract files whose path contains non-ASCII characters.


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 pkgsrc/mk/platform/SunOS.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/platform/SunOS.mk
diff -u pkgsrc/mk/platform/SunOS.mk:1.91 pkgsrc/mk/platform/SunOS.mk:1.92
--- pkgsrc/mk/platform/SunOS.mk:1.91    Sat Jan 25 03:30:46 2025
+++ pkgsrc/mk/platform/SunOS.mk Sat Jan 25 18:16:01 2025
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.91 2025/01/25 03:30:46 pho Exp $
+# $NetBSD: SunOS.mk,v 1.92 2025/01/25 18:16:01 pho Exp $
 #
 # Variable definitions for the SunOS/Solaris operating system.
 
@@ -32,6 +32,8 @@ USERADD?=             /usr/sbin/useradd
 # The native tar(1) is a pre-POSIX one which truncates paths longer than
 # 100 bytes.
 EXTRACT_USING?=                bsdtar
+# But bsdtar chokes on UTF-8 file names on the C locale.
+EXTRACT_ENV+=          LC_CTYPE=en_US.UTF-8
 .endif
 
 .if exists(/usr/openwin/include/X11/X.h)



Home | Main Index | Thread Index | Old Index