From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 21 13:40:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 477B6106566C for ; Sat, 21 May 2011 13:40:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1C6838FC14 for ; Sat, 21 May 2011 13:40:10 +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 p4LDe9h3033913 for ; Sat, 21 May 2011 13:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4LDe9xu033908; Sat, 21 May 2011 13:40:09 GMT (envelope-from gnats) Resent-Date: Sat, 21 May 2011 13:40:09 GMT Resent-Message-Id: <201105211340.p4LDe9xu033908@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, Christoph Moench-Tegeder Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93A6C106566B for ; Sat, 21 May 2011 13:38:05 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (ns.exwg.net [88.198.69.35]) by mx1.freebsd.org (Postfix) with ESMTP id 4BA658FC0A for ; Sat, 21 May 2011 13:38:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id 4FC6A600098 for ; Sat, 21 May 2011 15:38:04 +0200 (CEST) Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u34+cFftFTRN for ; Sat, 21 May 2011 15:38:00 +0200 (CEST) Received: from elch.exwg.net (p4FE3B9D5.dip.t-dialin.net [79.227.185.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS for ; Sat, 21 May 2011 15:38:00 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id 80473AC818; Sat, 21 May 2011 15:38:00 +0200 (CEST) Message-Id: <20110521133800.80473AC818@elch.exwg.net> Date: Sat, 21 May 2011 15:38:00 +0200 (CEST) From: Christoph Moench-Tegeder To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/157237: [PATCH] fix build of www/chromium with perl 5.14 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Christoph Moench-Tegeder List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2011 13:40:10 -0000 >Number: 157237 >Category: ports >Synopsis: [PATCH] fix build of www/chromium with perl 5.14 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 21 13:40:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Christoph Moench-Tegeder >Release: FreeBSD 8.2-RELEASE-p1 amd64 >Organization: >Environment: System: FreeBSD elch.exwg.net 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #7: Thu Apr 21 15:56:09 CEST 2011 cmt@elch.exwg.net:/usr/obj/usr/src/sys/CMT amd64 lang/perl5.14 perl-threaded-5.14.0 www/chromium chromium-11.0.696.68 >Description: As mentioned in the Perl 5.10.1 release notes (perl5101delta(1)) and the 5.14.0 release notes (perl5140delta(1)) Switch.pm was deprecated and removed from the core perl distribution. www/chromium ships with a build script requiring Switch.pm, so we need lang/p5-Switch when building with perl 5.14.0. >How-To-Repeat: Upgrade to perl 5.14 and try to build chromium. >Fix: Trivial patch: --- www/chromium/Makefile.orig 2011-05-21 15:23:03.000000000 +0200 +++ www/chromium/Makefile 2011-05-21 15:23:37.000000000 +0200 @@ -112,6 +112,10 @@ MAKE_ENV+= BUILDTYPE=${BUILDTYPE} MAKE_JOBS_SAFE= yes +.if ${PERL_LEVEL} >= 501400 +BUILD_DEPENDS+= p5-Switch:${PORTSDIR}/lang/p5-Switch +.endif + pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build Chromium, you should have around 1 GB of memory" >Release-Note: >Audit-Trail: >Unformatted: