Date: Tue, 24 May 2011 08:45:36 GMT From: Jacques <jacquescale@clovermail.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/157288: fix build of www/webkit-gtk2 with perl 5.14 Message-ID: <201105240845.p4O8ja4a015438@red.freebsd.org> Resent-Message-ID: <201105240850.p4O8o51U079516@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 157288 >Category: ports >Synopsis: fix build of www/webkit-gtk2 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: Tue May 24 08:50:05 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jacques >Release: FreeBSD 8.2-STABLE i386 >Organization: >Environment: FreeBSD machine 8.2-STABLE FreeBSD 8.2-STABLE #59: Thu May 19 10:14:49 UTC 2011 root@machine:/usr/obj/usr/src/sys/CUSTOM i386 >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/webkit-gtk2 ships with a build script requiring Switch.pm, so we need lang/p5-Switch when building with perl 5.14.0. This also happens on chromium (see PR 157237) and could happen on other ports. >How-To-Repeat: Upgrade to perl 5.14 and try to build webkit-gtk2 >Fix: Add the following lines to Makefile .if ${PERL_LEVEL} >= 501400 BUILD_DEPENDS+= p5-Switch>=0:${PORTSDIR}/lang/p5-Switch .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105240845.p4O8ja4a015438>