summaryrefslogtreecommitdiff
path: root/devel/nss
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-10-26 09:30:18 +0000
committerjperkin <jperkin@pkgsrc.org>2015-10-26 09:30:18 +0000
commitc60ead4c2c2999a2bc6b212d3ed63212f0dec23a (patch)
tree92a494c3b29fc0173fa9ba8100ba644cee9a9e9d /devel/nss
parent1bff4f017a2ba0b5160657629b0d90c1b9365c27 (diff)
downloadpkgsrc-c60ead4c2c2999a2bc6b212d3ed63212f0dec23a.tar.gz
Support SunOS/clang.
Diffstat (limited to 'devel/nss')
-rw-r--r--devel/nss/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/nss/Makefile b/devel/nss/Makefile
index 23e05778f65..485843c8da7 100644
--- a/devel/nss/Makefile
+++ b/devel/nss/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.101 2015/10/10 01:58:05 ryoon Exp $
+# $NetBSD: Makefile,v 1.102 2015/10/26 09:30:18 jperkin Exp $
DISTNAME= nss-${NSS_RELEASE:S/.0$//}
NSS_RELEASE= 3.20.0
@@ -42,7 +42,7 @@ SO_SUFFIX= so.1.0
.endif
PLIST_SUBST+= SO_SUFFIX=${SO_SUFFIX:Q}
-.if ${OPSYS} == "SunOS" && !empty(PKGSRC_COMPILER:Mgcc)
+.if ${OPSYS} == "SunOS" && (${PKGSRC_COMPILER} == "clang" || ${PKGSRC_COMPILER} == "gcc")
MAKE_ENV+= NS_USE_GCC=YES
.endif