From nobody@FreeBSD.org  Tue May 24 08:45:36 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AB40A106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 May 2011 08:45:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 9C5D38FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 May 2011 08:45:36 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4O8ja2C015439
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 May 2011 08:45:36 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p4O8ja4a015438;
	Tue, 24 May 2011 08:45:36 GMT
	(envelope-from nobody)
Message-Id: <201105240845.p4O8ja4a015438@red.freebsd.org>
Date: Tue, 24 May 2011 08:45:36 GMT
From: Jacques <jacquescale@clovermail.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: fix build of  www/webkit-gtk2 with perl 5.14
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         157288
>Category:       ports
>Synopsis:       fix build of  www/webkit-gtk2 with perl 5.14
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 24 08:50:05 UTC 2011
>Closed-Date:    Fri May 27 23:21:33 UTC 2011
>Last-Modified:  Fri May 27 23:30:16 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue May 24 08:50:14 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157288 
State-Changed-From-To: open->closed 
State-Changed-By: mandree 
State-Changed-When: Fri May 27 23:21:33 UTC 2011 
State-Changed-Why:  
Duplicate of ports/157236. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157288 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/157288: commit references a PR
Date: Fri, 27 May 2011 23:29:16 +0000 (UTC)

 mandree     2011-05-27 23:28:59 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/webkit-gtk2      Makefile 
   Log:
   Fix build with Perl >= 5.14.
   
   Perl 5.14 has deprecated Switch.pm, as announced since Perl 5.10.1.
   The webkit build script requires Switch though, so add it to BUILD_DEPENDS on
   newer Perl versions.
   
   Submitted by: Christoph Moench-Tegeder (including patch) [1]
   Approved by:  Jeremy Messenger (mezz@) in
       http://lists.freebsd.org/pipermail/freebsd-gnome/2011-May/026025.html
   PR:           ports/157236 [1]
   PR:           ports/157275 (duplicate by Hardy Schumacher)
   PR:           ports/157288 (copy of 157236)
   
   Revision  Changes    Path
   1.39      +4 -0      ports/www/webkit-gtk2/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
