summaryrefslogtreecommitdiff
path: root/devel/nss
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-08-29 17:41:59 +0000
committertnn <tnn@pkgsrc.org>2020-08-29 17:41:59 +0000
commitd7e0aab8e04a951d0569369562ba3c150088ad82 (patch)
tree5c49904ea748e671751bcc4a045608472c9f9dc8 /devel/nss
parenta95bfc76ba4d103594401f752712521d074f3444 (diff)
downloadpkgsrc-d7e0aab8e04a951d0569369562ba3c150088ad82.tar.gz
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 (limited to 'devel/nss')
-rw-r--r--devel/nss/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/nss/Makefile b/devel/nss/Makefile
index bead0c22b10..574a637fa52 100644
--- a/devel/nss/Makefile
+++ b/devel/nss/Makefile
@@ -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 @@ SO_SUFFIX= so.1.0
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