Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/nss nss: fix NetBSD/aarch64 build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de1281e3948c
branches:  trunk
changeset: 437669:de1281e3948c
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Aug 29 17:41:59 2020 +0000

description:
nss: fix NetBSD/aarch64 build

NS_USE_GCC and CC_IS_CLANG are not SunOS specific makeflags, they are used
to toggle if gcm-aarch64.c gets built and probably for other stuff too ...

diffstat:

 devel/nss/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r a669b6b0e0aa -r de1281e3948c devel/nss/Makefile
--- a/devel/nss/Makefile        Sat Aug 29 16:26:06 2020 +0000
+++ b/devel/nss/Makefile        Sat Aug 29 17:41:59 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.189 2020/08/23 08:31:27 ryoon Exp $
+# $NetBSD: Makefile,v 1.190 2020/08/29 17:41:59 tnn Exp $
 
 DISTNAME=              nss-${NSS_RELEASE:S/.0$//}
 NSS_RELEASE=           3.56.0
@@ -54,11 +54,11 @@
 PLIST_SUBST+=          SO_SUFFIX=${SO_SUFFIX:Q}
 
 .if !empty(PKGSRC_COMPILER:Mclang) || !empty(PKGSRC_COMPILER:Mgcc)
-MAKE_ENV.SunOS+=       NS_USE_GCC=YES
+MAKE_ENV+=             NS_USE_GCC=YES
 .endif
 
 .if !empty(PKGSRC_COMPILER:Mclang)
-MAKE_ENV.SunOS+=       CC_IS_CLANG=YES
+MAKE_ENV+=             CC_IS_CLANG=YES
 .endif
 
 SUBST_CLASSES+=                64bit



Home | Main Index | Thread Index | Old Index