svn commit: r484125 - in head/graphics/p5-Alien-Gimp: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Nov 4 18:56:30 UTC 2018
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 at 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 <bsd.port.mk>
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 = (
More information about the svn-ports-head
mailing list