From e1136502e0276129bf86471419e2a80e1baf4b3e Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Tue, 20 Sep 2005 12:53:40 +0000 Subject: 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. --- devel/nss/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'devel/nss/Makefile') 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" -- cgit v1.2.3