aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-04-20 23:24:00 +0800
committermat <mat@FreeBSD.org>2015-04-20 23:24:00 +0800
commit14461fd1df2dc5315f843f4cf296006f913caf01 (patch)
tree5d9efa5606fdca16beec385392f15bb0a859f39d /x11-toolkits
parent94e46231236002d9af5ccccaf7de0839bcbbecfb (diff)
downloadfreebsd-ports-gnome-14461fd1df2dc5315f843f4cf296006f913caf01.tar.gz
freebsd-ports-gnome-14461fd1df2dc5315f843f4cf296006f913caf01.tar.zst
freebsd-ports-gnome-14461fd1df2dc5315f843f4cf296006f913caf01.zip
Update to 1.43. Add a patch to make it build with Perl 5.21.6+.
Sponsored by: Absolight
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/p5-Prima/Makefile3
-rw-r--r--x11-toolkits/p5-Prima/distinfo4
-rw-r--r--x11-toolkits/p5-Prima/files/patch-Makefile.PL27
-rw-r--r--x11-toolkits/p5-Prima/pkg-plist2
4 files changed, 24 insertions, 12 deletions
diff --git a/x11-toolkits/p5-Prima/Makefile b/x11-toolkits/p5-Prima/Makefile
index 6037309c5e5b..f02462c28c25 100644
--- a/x11-toolkits/p5-Prima/Makefile
+++ b/x11-toolkits/p5-Prima/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Prima
-PORTVERSION= 1.41
-PORTREVISION= 2
+PORTVERSION= 1.43
CATEGORIES= x11-toolkits graphics perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
diff --git a/x11-toolkits/p5-Prima/distinfo b/x11-toolkits/p5-Prima/distinfo
index 99489ec00e7d..c524e453a4c4 100644
--- a/x11-toolkits/p5-Prima/distinfo
+++ b/x11-toolkits/p5-Prima/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Prima-1.41.tar.gz) = 04d880c63207d7fef0ba927e357e3bc91802abb4757f94f11e0b7a46368631e3
-SIZE (Prima-1.41.tar.gz) = 1381688
+SHA256 (Prima-1.43.tar.gz) = 36eb1d2f43885c084cb39bab9bdb3d7cba4c11dbeb2f48b8888bea39c6f24069
+SIZE (Prima-1.43.tar.gz) = 1380695
diff --git a/x11-toolkits/p5-Prima/files/patch-Makefile.PL b/x11-toolkits/p5-Prima/files/patch-Makefile.PL
index 7e7fe651dc7e..54119f0eac7d 100644
--- a/x11-toolkits/p5-Prima/files/patch-Makefile.PL
+++ b/x11-toolkits/p5-Prima/files/patch-Makefile.PL
@@ -1,22 +1,33 @@
---- Makefile.PL.orig 2014-11-08 16:12:20 UTC
+--- Makefile.PL.orig 2015-04-10 19:17:48 UTC
+++ Makefile.PL
-@@ -1244,13 +1244,13 @@ EOF
+@@ -1269,13 +1269,13 @@ EOF
$cmd_options{WITH_ICONV} = 0 unless $cmd_options{WITH_XFT}; # iconv is used for xft only
if ( $cmd_options{WITH_ICONV} && have_header( "iconv.h")) {
- print "Checking for presence of libiconv... ";
+ printlog "Checking for presence of libiconv... ";
- if ( defined find_lib( 'iconv', '', '')) {
- push @LIBS, 'iconv';
-- print "yes\n";
+- printlog "yes\n";
+ my $ok = compile( "#include <iconv.h>\nint main() { iconv_close(0); return 0; }\n");
+ if ( $ok ) {
-+ print "no, but works as part of libc\n";
++ printlog "no, but works as part of libc\n";
} else {
-- my $ok = compile( "#include <iconv.h>\nint main() { iconv_close(0); return 0; }\n");
+- my $ok = compile( "#include <iconv.h>\nint main() { iconv_close(0); return 0; }\n", 1, $Config{cccdlflags});
- if ( $ok ) {
-- print "no, but works as part of libc\n";
+- printlog "no, but works as part of libc\n";
+ if ( defined find_lib( 'iconv', '', '')) {
+ push @LIBS, 'iconv';
-+ print "yes\n";
++ printlog "yes\n";
} else {
$DEFINES{HAVE_ICONV_H} = undef;
$cmd_options{WITH_ICONV} = 0;
+@@ -2062,8 +2062,8 @@ sub install
+ my $t = $self->SUPER::install(@_);
+ my $n = $t =~ s[
+ (pure_\w+_install.*?) # 1
+- (INST_ARCHLIB\)\s+)\$\(DEST(\w+)\)(.*?) # 2,3,4
+- (INST_BIN\)\s+)\$\(DEST(\w+)\)(.*?) # 5,6,7
++ (INST_ARCHLIB\)"?\s+"?)\$\(DEST(\w+)\)(.*?) # 2,3,4
++ (INST_BIN\)"?\s+"?)\$\(DEST(\w+)\)(.*?) # 5,6,7
+ (.*?) # 8
+ \n\n
+ ][
diff --git a/x11-toolkits/p5-Prima/pkg-plist b/x11-toolkits/p5-Prima/pkg-plist
index 62fe9a349713..8f2379ecedbf 100644
--- a/x11-toolkits/p5-Prima/pkg-plist
+++ b/x11-toolkits/p5-Prima/pkg-plist
@@ -152,6 +152,7 @@ bin/tmlink
%%SITE_ARCH%%/Prima/StdDlg.pm
%%SITE_ARCH%%/Prima/Stress.pm
%%SITE_ARCH%%/Prima/Terminals.pm
+%%SITE_ARCH%%/Prima/Test.pm
%%SITE_ARCH%%/Prima/TextView.pm
%%SITE_ARCH%%/Prima/Themes.pm
%%SITE_ARCH%%/Prima/Tie.pm
@@ -317,6 +318,7 @@ bin/tmlink
%%PERL5_MAN3%%/Prima::StdDlg.3.gz
%%PERL5_MAN3%%/Prima::Stress.3.gz
%%PERL5_MAN3%%/Prima::Terminals.3.gz
+%%PERL5_MAN3%%/Prima::Test.3.gz
%%PERL5_MAN3%%/Prima::TextView.3.gz
%%PERL5_MAN3%%/Prima::Themes.3.gz
%%PERL5_MAN3%%/Prima::Tie.3.gz