From owner-svn-ports-all@freebsd.org Mon Aug 6 02:49:35 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6BB031066FBB; Mon, 6 Aug 2018 02:49:35 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 13EFF83058; Mon, 6 Aug 2018 02:49:35 +0000 (UTC) (envelope-from jhale@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E4FF926DFF; Mon, 6 Aug 2018 02:49:34 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w762nYws043677; Mon, 6 Aug 2018 02:49:34 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w762nYj1043675; Mon, 6 Aug 2018 02:49:34 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201808060249.w762nYj1043675@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Mon, 6 Aug 2018 02:49:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476485 - in head/graphics/IPA: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jhale X-SVN-Commit-Paths: in head/graphics/IPA: . files X-SVN-Commit-Revision: 476485 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2018 02:49:35 -0000 Author: jhale Date: Mon Aug 6 02:49:34 2018 New Revision: 476485 URL: https://svnweb.freebsd.org/changeset/ports/476485 Log: Fix build with Perl >= 5.26 - regular expression match was failing with newer MakeMaker which caused the objects to be written to the wrong location Add LICENSE - the README says it is licensed the same as Perl MFH: 2018Q3 (blanket - build fix) Added: head/graphics/IPA/files/ head/graphics/IPA/files/patch-Makefile.PL (contents, props changed) Modified: head/graphics/IPA/Makefile Modified: head/graphics/IPA/Makefile ============================================================================== --- head/graphics/IPA/Makefile Mon Aug 6 02:44:18 2018 (r476484) +++ head/graphics/IPA/Makefile Mon Aug 6 02:49:34 2018 (r476485) @@ -10,6 +10,9 @@ MASTER_SITES= http://www.prima.eu.org/IPA/ CPAN/Prima/ MAINTAINER= ports@FreeBSD.org COMMENT= Image Processing Algorithms +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Prima>1.24:x11-toolkits/p5-Prima @@ -21,10 +24,4 @@ MAKE_JOBS_UNSAFE= yes post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/IPA/IPA.so -.include - -.if ${PERL_LEVEL} >= 502600 -BROKEN= Does not build -.endif - -.include +.include Added: head/graphics/IPA/files/patch-Makefile.PL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/IPA/files/patch-Makefile.PL Mon Aug 6 02:49:34 2018 (r476485) @@ -0,0 +1,16 @@ +Fix regular expression match and build with MakeMaker >= 7.05_05 which adds a +space between the target name and the operator. + +--- Makefile.PL.orig 2011-05-14 06:27:26 UTC ++++ Makefile.PL +@@ -79,8 +79,8 @@ H + sub c_o + { + my $t = shift-> SUPER::c_o(@_); +- unless ( $t =~ /.c\$\(OBJ_EXT\):\n\t.*\$\*\$\(OBJ_EXT\)/ ) { +- $t =~ s/(\.c\$\(OBJ_EXT\):\n\t.*)/$1 $co\$*\$(OBJ_EXT)/; ++ unless ( $t =~ /\.c\$\(OBJ_EXT\)\s*:\n\t.*\Q\$\*\$\(OBJ_EXT\)\E/ ) { ++ $t =~ s/(\.c\$\(OBJ_EXT\)\s*:\n\t.*)/$1 $co\$*\$(OBJ_EXT)/; + } + return $t; + }