ports/157288: fix build of www/webkit-gtk2 with perl 5.14

Jacques jacquescale at clovermail.net
Tue May 24 08:50:06 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list