summaryrefslogtreecommitdiff
path: root/devel/nss
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2005-09-20 12:53:40 +0000
committerdmcmahill <dmcmahill>2005-09-20 12:53:40 +0000
commite1136502e0276129bf86471419e2a80e1baf4b3e (patch)
treec9fe9b8b48c1ec7a5ed87ac414ff0dff4c094e0c /devel/nss
parent4d481a20fe6cc906752f3831afc5652e68140210 (diff)
downloadpkgsrc-e1136502e0276129bf86471419e2a80e1baf4b3e.tar.gz
set NS_USE_GCC on solaris when using gcc. This gets past most of the
makefile issues. There are still some problems on solaris, but this gets you further. Don't mark as available yet on solaris since it still doesn't compile.
Diffstat (limited to 'devel/nss')
-rw-r--r--devel/nss/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/nss/Makefile b/devel/nss/Makefile
index 66183085fb4..b5d0a68138c 100644
--- a/devel/nss/Makefile
+++ b/devel/nss/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/08/25 00:11:01 reed Exp $
+# $NetBSD: Makefile,v 1.9 2005/09/20 12:53:40 dmcmahill Exp $
DISTNAME= nss-3.9.2
PKGREVISION= 2
@@ -14,6 +14,10 @@ BUILD_DEPENDS+= zip>=2.3:../../archivers/zip
# NSS will build and run on other platforms when MAINTAINER knows what
# magic Makefile glue is required
ONLY_FOR_PLATFORM+= NetBSD-*-* FreeBSD-*-* Linux-*-* DragonFly-*-*
+# Solaris has missing symbols when linking. It looks like some of those problem
+# have been addressed in the nss source tree so this should be enabled after
+# the next update.
+#SunOS-*-*
WRKSRC= ${WRKDIR}/${DISTNAME}/mozilla/security/nss
@@ -34,6 +38,10 @@ SO_SUFFIX= so.1.0
.endif
PLIST_SUBST+= SO_SUFFIX=${SO_SUFFIX}
+.if ${OPSYS} == "SunOS" && ${PKGSRC_COMPILER} == "gcc"
+MAKEFLAGS+= NS_USE_GCC=YES
+.endif
+
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
NSS_OBJ_DIR= ${OPSYS}${OS_VERSION}_OPT.OBJ
.elif ${OPSYS} == "Linux"