Date: Sat, 21 May 2011 15:38:00 +0200 (CEST) From: Christoph Moench-Tegeder <cmt@burggraben.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/157237: [PATCH] fix build of www/chromium with perl 5.14 Message-ID: <20110521133800.80473AC818@elch.exwg.net> Resent-Message-ID: <201105211340.p4LDe9xu033908@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110521133800.80473AC818>