mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Unbreak this port
This commit is contained in:
parent
2ab2a7e883
commit
31418856fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484125
@ -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 <bsd.port.mk>
|
||||
|
13
graphics/p5-Alien-Gimp/files/patch-common.pl
Normal file
13
graphics/p5-Alien-Gimp/files/patch-common.pl
Normal file
@ -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 = (
|
Loading…
Reference in New Issue
Block a user