pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/nss set NS_USE_GCC on solaris when using gcc. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6103a9a157bb
branches:  trunk
changeset: 499349:6103a9a157bb
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Sep 20 12:53:40 2005 +0000

description:
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:

 devel/nss/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 24b1658c1e5c -r 6103a9a157bb devel/nss/Makefile
--- a/devel/nss/Makefile        Tue Sep 20 12:49:30 2005 +0000
+++ b/devel/nss/Makefile        Tue Sep 20 12:53:40 2005 +0000
@@ -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 @@
 # 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 @@
 .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"



Home | Main Index | Thread Index | Old Index