pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/platform mk: set EXTRACT_ENV on NetBSD<9, seen on t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5992bc7abc4
branches:  trunk
changeset: 379634:d5992bc7abc4
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat May 21 07:37:39 2022 +0000

description:
mk: set EXTRACT_ENV on NetBSD<9, seen on tech-pkg

diffstat:

 mk/platform/NetBSD.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 8b6dd2ae1e2c -r d5992bc7abc4 mk/platform/NetBSD.mk
--- a/mk/platform/NetBSD.mk     Sat May 21 07:25:34 2022 +0000
+++ b/mk/platform/NetBSD.mk     Sat May 21 07:37:39 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.mk,v 1.71 2022/03/03 07:30:06 nia Exp $
+# $NetBSD: NetBSD.mk,v 1.72 2022/05/21 07:37:39 nia Exp $
 #
 # Variable definitions for the NetBSD operating system.
 
@@ -16,6 +16,10 @@
 # pax-as-tar, found on <=8, and optionally later, fails on many archives.
 EXTRACT_USING?=        bsdtar
 
+.if ${OPSYS_VERSION} < 090000
+EXTRACT_ENV+=  LC_CTYPE=en_US.UTF-8
+.endif
+
 USERADD?=      /usr/sbin/useradd
 GROUPADD?=     /usr/sbin/groupadd
 



Home | Main Index | Thread Index | Old Index