From owner-svn-ports-head@freebsd.org Fri May 20 09:30:21 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27DD9B4279E; Fri, 20 May 2016 09:30:21 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D91381472; Fri, 20 May 2016 09:30:20 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4K9UJOi037717; Fri, 20 May 2016 09:30:19 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4K9UJKb037716; Fri, 20 May 2016 09:30:19 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201605200930.u4K9UJKb037716@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 20 May 2016 09:30:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415549 - head/textproc/p5-Lingua-EN-Tagger/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 09:30:21 -0000 Author: mat Date: Fri May 20 09:30:19 2016 New Revision: 415549 URL: https://svnweb.freebsd.org/changeset/ports/415549 Log: Fix build with Perl 5.25. Braces should be escaped in regexps. With hat: perl@ Sponsored by: Absolight Added: head/textproc/p5-Lingua-EN-Tagger/files/ head/textproc/p5-Lingua-EN-Tagger/files/patch-Makefile.PL (contents, props changed) Added: head/textproc/p5-Lingua-EN-Tagger/files/patch-Makefile.PL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-Lingua-EN-Tagger/files/patch-Makefile.PL Fri May 20 09:30:19 2016 (r415549) @@ -0,0 +1,20 @@ +--- Makefile.PL.orig 2012-05-28 13:24:29 UTC ++++ Makefile.PL +@@ -59,7 +59,7 @@ sub _load_words { + my ( $file ) = @_; + my $fh = new FileHandle $file; + while ( <$fh> ){ +- my ( $key, $data ) = m/^"?([^{"]+)"?: { (.*) }/; ++ my ( $key, $data ) = m/^"?([^{"]+)"?: \{ (.*) }/; + next unless $key and $data; + my %tags = split /[:,]\s+/, $data; + foreach( keys %tags ){ +@@ -73,7 +73,7 @@ sub _load_tags { + my ( $file ) = @_; + my $fh = new FileHandle $file; + while ( <$fh> ){ +- my ( $key, $data ) = m/^"?([^{"]+)"?: { (.*) }/; ++ my ( $key, $data ) = m/^"?([^{"]+)"?: \{ (.*) }/; + next unless $key and $data; + my %tags = split /[:,]\s+/, $data; + foreach( keys %tags ){