svn commit: r384363 - in head/x11-toolkits/p5-Prima: . files
Mathieu Arnold
mat at FreeBSD.org
Mon Apr 20 15:24:02 UTC 2015
Author: mat
Date: Mon Apr 20 15:24:00 2015
New Revision: 384363
URL: https://svnweb.freebsd.org/changeset/ports/384363
Log:
Update to 1.43. Add a patch to make it build with Perl 5.21.6+.
Sponsored by: Absolight
Modified:
head/x11-toolkits/p5-Prima/Makefile
head/x11-toolkits/p5-Prima/distinfo
head/x11-toolkits/p5-Prima/files/patch-Makefile.PL
head/x11-toolkits/p5-Prima/pkg-plist
Modified: head/x11-toolkits/p5-Prima/Makefile
==============================================================================
--- head/x11-toolkits/p5-Prima/Makefile Mon Apr 20 14:09:20 2015 (r384362)
+++ head/x11-toolkits/p5-Prima/Makefile Mon Apr 20 15:24:00 2015 (r384363)
@@ -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-
Modified: head/x11-toolkits/p5-Prima/distinfo
==============================================================================
--- head/x11-toolkits/p5-Prima/distinfo Mon Apr 20 14:09:20 2015 (r384362)
+++ head/x11-toolkits/p5-Prima/distinfo Mon Apr 20 15:24:00 2015 (r384363)
@@ -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
Modified: head/x11-toolkits/p5-Prima/files/patch-Makefile.PL
==============================================================================
--- head/x11-toolkits/p5-Prima/files/patch-Makefile.PL Mon Apr 20 14:09:20 2015 (r384362)
+++ head/x11-toolkits/p5-Prima/files/patch-Makefile.PL Mon Apr 20 15:24:00 2015 (r384363)
@@ -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
+ ][
Modified: head/x11-toolkits/p5-Prima/pkg-plist
==============================================================================
--- head/x11-toolkits/p5-Prima/pkg-plist Mon Apr 20 14:09:20 2015 (r384362)
+++ head/x11-toolkits/p5-Prima/pkg-plist Mon Apr 20 15:24:00 2015 (r384363)
@@ -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
More information about the svn-ports-head
mailing list