From owner-freebsd-gnome@FreeBSD.ORG Sun Nov 11 22:19:50 2007 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF9F416A418 for ; Sun, 11 Nov 2007 22:19:50 +0000 (UTC) (envelope-from minshall@acm.org) Received: from einstein.cliq.org (einstein.cliq.org [131.161.246.13]) by mx1.freebsd.org (Postfix) with ESMTP id AC08F13C4BC for ; Sun, 11 Nov 2007 22:19:50 +0000 (UTC) (envelope-from minshall@acm.org) Received: from gregtx.cliq.com (minshall@localhost.cliq.org [IPv6:::1]) by einstein.cliq.org (8.13.4/8.13.4) with ESMTP id lABMIxg4014013 for ; Sun, 11 Nov 2007 14:18:59 -0800 (PST) Received: from gregtx (localhost [127.0.0.1]) by gregtx.cliq.com (Postfix) with ESMTP id D7F465DF9 for ; Sat, 10 Nov 2007 11:04:07 -0800 (PST) X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 From: Greg Minshall To: gnome@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 10 Nov 2007 11:04:07 -0800 Sender: minshall@acm.org Message-Id: <20071110190407.D7F465DF9@gregtx.cliq.com> Cc: Subject: security/nss 3.11.1 patch c/b better? (fwd) X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2007 22:19:50 -0000 i realize this should probably have gone to maintainer rather than ports. ------- Forwarded Message From: Greg Minshall To: ports@freebsd.org Subject: security/nss 3.11.1 patch c/b better? Date: Fri, 09 Nov 2007 17:20:09 -0800 hi. i'm running the venerable: ---- FreeBSD gregtx 6.1-STABLE FreeBSD 6.1-STABLE #2: Tue Oct 31 09:50:20 PST 2006 minshall@gregtx:/usr/src/sys/i386/compile/GENERIC i386 ---- i installed security/nss 3.11.1. the make was complaining about: ---- syntax error at -e line 3, near "while" syntax error at -e line 7, near "}" Execution of -e aborted due to compilation errors. ---- in most of the subdirectories. (but the make wasn't stopping, which i found disturbing.) i think i tracked it down to an attempt in work/mozilla/security/coreconf/rules .mk to invoke perl on a multi-line command line (-e) supplied script (continued in the makefile with \), which perl apparently doesn't always like (fairly odd behavior on perl's part, imho). anyway, i noticed a newer mozilla distribution does things in rules.mk slightly different, and that seems to work. appended is a shar file. (i'm still having some trouble with nss -- not being able to find CMMF_CertRepContentGetCAPubs() and other such, even though they should be in -lcrmf.) cheers, Greg Minshall ---- ----# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # security/nss/files/patch-..::coreconf::rules.mk # echo x - security/nss/files/patch-..::coreconf::rules.mk sed 's/^X//' >security/nss/files/patch-..::coreconf::rules.mk << 'END-of-security/nss/files/patch-..::coreconf::rules.mk' X*** ../coreconf/rules.mk.orig Wed Apr 12 14:01:57 2006 X--- ../coreconf/rules.mk Fri Nov 9 17:01:02 2007 X*************** X*** 114,119 **** X--- 114,120 ---- X endif X ifdef SHARED_LIBRARY X $(INSTALL) -m 775 $(SHARED_LIBRARY) $(SOURCE_LIB_DIR) X+ ln -sf $(notdir $(SHARED_LIBRARY)) $(SOURCE_LIB_DIR)/$(notdir $(SHARED_LIBRARY:.so.1=.so)) X endif X ifdef IMPORT_LIBRARY X $(INSTALL) -m 775 $(IMPORT_LIBRARY) $(SOURCE_LIB_DIR) X*************** X*** 873,880 **** X X ifneq (,$(filter-out OpenVMS OS2 WIN%,$(OS_TARGET))) X # Can't use sed because of its 4000-char line length limit, so resort to perl X! .DEFAULT: X! @perl -e ' \ X open(MD, "< $(DEPENDENCIES)"); \ X while () { \ X if (m@ \.*/*$< @) { \ X--- 874,880 ---- X X ifneq (,$(filter-out OpenVMS OS2 WIN%,$(OS_TARGET))) X # Can't use sed because of its 4000-char line length limit, so resort to perl X! PERL_DEPENDENCIES_PROGRAM = \ X open(MD, "< $(DEPENDENCIES)"); \ X while () { \ X if (m@ \.*/*$< @) { \ X*************** X*** 901,907 **** X } elsif ("$<" ne "$(DEPENDENCIES)") { \ X print "$(MAKE): *** No rule to make target $<. Stop.\n"; \ X exit(1); \ X! }' X endif X X ############################################################################ # X--- 901,909 ---- X } elsif ("$<" ne "$(DEPENDENCIES)") { \ X print "$(MAKE): *** No rule to make target $<. Stop.\n"; \ X exit(1); \ X! } X! .DEFAULT: X! @perl -e '$(PERL_DEPENDENCIES_PROGRAM)' X endif X X ############################################################################ # END-of-security/nss/files/patch-..::coreconf::rules.mk exit ------- End of Forwarded Message