From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 10 18:10:01 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E2B0106566B for ; Mon, 10 May 2010 18:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 417048FC23 for ; Mon, 10 May 2010 18:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4AIA1Ol047926 for ; Mon, 10 May 2010 18:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4AIA16L047925; Mon, 10 May 2010 18:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 10 May 2010 18:10:01 GMT Resent-Message-Id: <201005101810.o4AIA16L047925@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Grzegorz Blach Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1534D106564A for ; Mon, 10 May 2010 18:06:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 045738FC0A for ; Mon, 10 May 2010 18:06:28 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4AI6R5K090369 for ; Mon, 10 May 2010 18:06:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o4AI6R1A090368; Mon, 10 May 2010 18:06:27 GMT (envelope-from nobody) Message-Id: <201005101806.o4AI6R1A090368@www.freebsd.org> Date: Mon, 10 May 2010 18:06:27 GMT From: Grzegorz Blach To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/146472: Port www/weave fixed build with Firefox 3.5 on amd64 platform X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2010 18:10:01 -0000 >Number: 146472 >Category: ports >Synopsis: Port www/weave fixed build with Firefox 3.5 on amd64 platform >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon May 10 18:10:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Grzegorz Blach >Release: 8.0-RELEASE-p2 >Organization: >Environment: FreeBSD silver.doors 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Thu Apr 29 23:33:24 CEST 2010 root@silver.doors:/usr/obj/usr/src/sys/SILVER amd64 >Description: As in summary, fixed build with Firefox 3.5 on amd64 platform. This patch do nothing change on i386 (with FF 3.5 and 3.6), and on amd64 with FF 3.6, so I don't dump port revision. Only build with FF 3.5 on amd64 is affected. >How-To-Repeat: On amd64 platform: Build Firefox 3.5, and then build weave When You log in to weave server and try to sync something, You get error message, that weave can't load crypto module. >Fix: Apply attached patch, and rebuild weave. Patch attached with submission follows: diff -ruN weave.old/Makefile weave/Makefile --- weave.old/Makefile 2010-05-05 22:59:32.741780432 +0200 +++ weave/Makefile 2010-05-10 19:56:03.458306205 +0200 @@ -23,13 +23,19 @@ USE_BZIP2= yes USE_GMAKE= yes +OPTIONS= FF35 "Build for Firefox 3.5 (only useful on amd64)" Off + .include REVID= ad1ede89cbb2 .if ${ARCH} == i386 PLATFORM= FreeBSD_x86-gcc3 .elif ${ARCH} == amd64 +.if defined(WITHOUT_FF35) PLATFORM= FreeBSD_amd64-gcc3 +.else +PLATFORM= FreeBSD_x86_64-gcc3 +.endif .endif GMAKE_FLAGS= sdkdir=${PREFIX}/lib/firefox3/sdk release_build=1 platform_target=${PLATFORM} TOPSRCDIR=${WRKSRC} @@ -45,6 +51,9 @@ post-patch: @${REINPLACE_CMD} -e "s|\$$(shell hg tip --template '{node\|short}')|${REVID}|g" ${WRKSRC}/Makefile +.if ${PLATFORM} == FreeBSD_x86_64-gcc3 + ${REINPLACE_CMD} -e 's|arch = amd64|arch = x86_64|g' ${WRKSRC}/crypto-obsolete/src/Makefile +.endif post-install: ${MKDIR} ${XPI_DIR} >Release-Note: >Audit-Trail: >Unformatted: