From owner-svn-ports-head@FreeBSD.ORG Fri Apr 24 17:43:35 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13527703; Fri, 24 Apr 2015 17:43:35 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 F41551C1E; Fri, 24 Apr 2015 17:43:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3OHhYMd017929; Fri, 24 Apr 2015 17:43:34 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3OHhYGx017924; Fri, 24 Apr 2015 17:43:34 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201504241743.t3OHhYGx017924@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 24 Apr 2015 17:43:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384670 - in head/japanese/p5-Text-MeCab: . 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.20 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, 24 Apr 2015 17:43:35 -0000 Author: mat Date: Fri Apr 24 17:43:33 2015 New Revision: 384670 URL: https://svnweb.freebsd.org/changeset/ports/384670 Log: Fix build with Perl 5.18+ qw(...) can no longer be used as parentheses Also, rename a patch to stick to our naming scheme. Sponsored by: Absolight Added: head/japanese/p5-Text-MeCab/files/patch-inc_Module_Install_Makefile.pm - copied unchanged from r384650, head/japanese/p5-Text-MeCab/files/patch-Makefile.pm head/japanese/p5-Text-MeCab/files/patch-inc_Module_Install_XSUtil.pm (contents, props changed) head/japanese/p5-Text-MeCab/files/patch-tools_probe__mecab.pl (contents, props changed) Deleted: head/japanese/p5-Text-MeCab/files/patch-Makefile.pm Modified: head/japanese/p5-Text-MeCab/Makefile Modified: head/japanese/p5-Text-MeCab/Makefile ============================================================================== --- head/japanese/p5-Text-MeCab/Makefile Fri Apr 24 17:27:29 2015 (r384669) +++ head/japanese/p5-Text-MeCab/Makefile Fri Apr 24 17:43:33 2015 (r384670) @@ -25,9 +25,6 @@ USES= perl5 USE_PERL5= configure CONFIGURE_ARGS= = 5.18 -BROKEN= Does not build with Perl 5.18 or above -.endif - .include Copied: head/japanese/p5-Text-MeCab/files/patch-inc_Module_Install_Makefile.pm (from r384650, head/japanese/p5-Text-MeCab/files/patch-Makefile.pm) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/p5-Text-MeCab/files/patch-inc_Module_Install_Makefile.pm Fri Apr 24 17:43:33 2015 (r384670, copy of r384650, head/japanese/p5-Text-MeCab/files/patch-Makefile.pm) @@ -0,0 +1,24 @@ +--- inc/Module/Install/Makefile.pm.orig 2010-07-09 05:30:37.888238012 +0900 ++++ inc/Module/Install/Makefile.pm 2010-07-09 05:31:07.586884004 +0900 +@@ -213,21 +213,6 @@ + # Make sure we have a new enough MakeMaker + require ExtUtils::MakeMaker; + +- if ( $perl_version and $self->_cmp($perl_version, '5.006') >= 0 ) { +- # MakeMaker can complain about module versions that include +- # an underscore, even though its own version may contain one! +- # Hence the funny regexp to get rid of it. See RT #35800 +- # for details. +- my $v = $ExtUtils::MakeMaker::VERSION =~ /^(\d+\.\d+)/; +- $self->build_requires( 'ExtUtils::MakeMaker' => $v ); +- $self->configure_requires( 'ExtUtils::MakeMaker' => $v ); +- } else { +- # Allow legacy-compatibility with 5.005 by depending on the +- # most recent EU:MM that supported 5.005. +- $self->build_requires( 'ExtUtils::MakeMaker' => 6.42 ); +- $self->configure_requires( 'ExtUtils::MakeMaker' => 6.42 ); +- } +- + # Generate the MakeMaker params + my $args = $self->makemaker_args; + $args->{DISTNAME} = $self->name; Added: head/japanese/p5-Text-MeCab/files/patch-inc_Module_Install_XSUtil.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/p5-Text-MeCab/files/patch-inc_Module_Install_XSUtil.pm Fri Apr 24 17:43:33 2015 (r384670) @@ -0,0 +1,11 @@ +--- inc/Module/Install/XSUtil.pm.orig 2015-04-24 17:35:21 UTC ++++ inc/Module/Install/XSUtil.pm +@@ -242,7 +242,7 @@ sub cc_assert_lib { + + if ( ! $self->{xsu_loaded_checklib} ) { + my $loaded_lib = 0; +- foreach my $checklib qw(inc::Devel::CheckLib Devel::CheckLib) { ++ foreach my $checklib ( qw(inc::Devel::CheckLib Devel::CheckLib) ) { + eval "use $checklib 0.4"; + if (!$@) { + $loaded_lib = 1; Added: head/japanese/p5-Text-MeCab/files/patch-tools_probe__mecab.pl ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/p5-Text-MeCab/files/patch-tools_probe__mecab.pl Fri Apr 24 17:43:33 2015 (r384670) @@ -0,0 +1,11 @@ +--- tools/probe_mecab.pl.orig 2015-04-24 17:31:37 UTC ++++ tools/probe_mecab.pl +@@ -43,7 +43,7 @@ if ($^O eq 'MSWin32') { + } else { + # try probing in places where we expect it to be + my $default_config; +- foreach my $path qw(/usr/bin /usr/local/bin /opt/local/bin) { ++ foreach my $path ( qw(/usr/bin /usr/local/bin /opt/local/bin) ) { + my $tmp = File::Spec->catfile($path, 'mecab-config'); + if (-f $tmp && -x _) { + $default_config = $tmp;