From owner-svn-ports-all@freebsd.org Sun Nov 4 18:56:30 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 DD21A10E27A4; Sun, 4 Nov 2018 18:56:29 +0000 (UTC) (envelope-from sunpoet@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 2C2A07FC03; Sun, 4 Nov 2018 18:56:29 +0000 (UTC) (envelope-from sunpoet@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 981CA4DF3; Sun, 4 Nov 2018 18:56:27 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA4IuR1K094565; Sun, 4 Nov 2018 18:56:27 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA4IuRw9094563; Sun, 4 Nov 2018 18:56:27 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201811041856.wA4IuRw9094563@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 4 Nov 2018 18:56:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484125 - in head/graphics/p5-Alien-Gimp: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/graphics/p5-Alien-Gimp: . files X-SVN-Commit-Revision: 484125 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2C2A07FC03 X-Spamd-Result: default: False [-0.38 / 200.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-0.27)[-0.270,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Sun, 04 Nov 2018 18:56:30 -0000 Author: sunpoet Date: Sun Nov 4 18:56:26 2018 New Revision: 484125 URL: https://svnweb.freebsd.org/changeset/ports/484125 Log: Unbreak this port Added: head/graphics/p5-Alien-Gimp/files/ head/graphics/p5-Alien-Gimp/files/patch-common.pl (contents, props changed) Modified: head/graphics/p5-Alien-Gimp/Makefile Modified: head/graphics/p5-Alien-Gimp/Makefile ============================================================================== --- head/graphics/p5-Alien-Gimp/Makefile Sun Nov 4 18:56:18 2018 (r484124) +++ head/graphics/p5-Alien-Gimp/Makefile Sun Nov 4 18:56:26 2018 (r484125) @@ -10,18 +10,17 @@ PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Encapsulate install info for GIMP -BROKEN= fails to configure - -BUILD_DEPENDS= gimp-app>=0:graphics/gimp-app \ +BUILD_DEPENDS= ${RUN_DEPENDS} \ p5-ExtUtils-Depends>=0.402:devel/p5-ExtUtils-Depends \ p5-ExtUtils-PkgConfig>=0:devel/p5-ExtUtils-PkgConfig \ p5-IO-All>=0:devel/p5-IO-All -RUN_DEPENDS= gimp-app>=0:graphics/gimp-app +RUN_DEPENDS= gimp-app>=2.8.0:graphics/gimp-app TEST_DEPENDS= p5-Inline-C>=0.67:devel/p5-Inline-C \ p5-Inline>=0.78:devel/p5-Inline -NO_ARCH= yes -USE_PERL5= configure USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes .include Added: head/graphics/p5-Alien-Gimp/files/patch-common.pl ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/p5-Alien-Gimp/files/patch-common.pl Sun Nov 4 18:56:26 2018 (r484125) @@ -0,0 +1,13 @@ +--- common.pl.orig 2016-05-02 03:41:48 UTC ++++ common.pl +@@ -10,8 +10,8 @@ my $gimptool = File::Spec->catfile($gimp + my ($plugindir, $pluginlibs) = split /\n/, `$gimptool --gimpplugindir --libs`; + + my $gimpbinname = ExtUtils::PkgConfig->modversion("gimp-2.0"); +-$gimpbinname =~ s/^(\d\.\d).*/$1/; # strip off minor versions +-die "Need GIMP version at least 2.8.0\n" unless $gimpbinname >= 2.8; ++$gimpbinname =~ s/^(\d+\.\d+\.\d+).*/$1/; # strip off minor versions ++die "Need GIMP version at least 2.8.0\n" unless $gimpbinname >= 2.8.0; + + sub ag_getconfig { + my %cfg = (