Date: Sun, 10 May 2009 15:49:58 GMT From: Cezary Morga <cm@therek.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/134424: [maintainer update] Update ports p5-Alien-wxWidgets p5-Wx p5-Wx-Perl-ProcessStream Message-ID: <200905101549.n4AFnwHV073313@www.freebsd.org> Resent-Message-ID: <200905101600.n4AG08iN077501@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134424 >Category: ports >Synopsis: [maintainer update] Update ports p5-Alien-wxWidgets p5-Wx p5-Wx-Perl-ProcessStream >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 10 16:00:08 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Cezary Morga >Release: FreeBSD 7.1-STABLE i386 >Organization: >Environment: >Description: - Update x11-toolkits/p5-Alien-wxWidgets to 0.43 - Update x11-toolkits/p5-Wx to 0.90 - Make UNICODE support in x11-toolkits/p5-Wx optional - Bump revision number for x11-toolkits/p5-Wx-Perl-ProcessStream because of p5-Wx update >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN x11-toolkits/p5-Alien-wxWidgets.orig/Makefile x11-toolkits/p5-Alien-wxWidgets/Makefile --- x11-toolkits/p5-Alien-wxWidgets.orig/Makefile 2009-05-10 17:36:25.000000000 +0200 +++ x11-toolkits/p5-Alien-wxWidgets/Makefile 2009-05-10 17:35:52.000000000 +0200 @@ -6,8 +6,7 @@ # PORTNAME= Alien-wxWidgets -PORTVERSION= 0.42 -PORTREVISION= 1 +PORTVERSION= 0.43 CATEGORIES= x11-toolkits perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- diff -ruN x11-toolkits/p5-Alien-wxWidgets.orig/distinfo x11-toolkits/p5-Alien-wxWidgets/distinfo --- x11-toolkits/p5-Alien-wxWidgets.orig/distinfo 2009-05-10 17:36:25.000000000 +0200 +++ x11-toolkits/p5-Alien-wxWidgets/distinfo 2009-05-10 17:35:52.000000000 +0200 @@ -1,3 +1,3 @@ -MD5 (Alien-wxWidgets-0.42.tar.gz) = f96c09d393bc8b4cbd7ff8e412183032 -SHA256 (Alien-wxWidgets-0.42.tar.gz) = c00332b8ac705f68a666e40ce29e4f28c0f0bbbc756c6963cf689413f73518f8 -SIZE (Alien-wxWidgets-0.42.tar.gz) = 621138 +MD5 (Alien-wxWidgets-0.43.tar.gz) = 5dacc6e2c2e175458fe8377aa26b019a +SHA256 (Alien-wxWidgets-0.43.tar.gz) = 9975435fd8bd9ecb4afd8e785fa96b5136935da706e9d8c3b844494e6c6e371a +SIZE (Alien-wxWidgets-0.43.tar.gz) = 621451 diff -ruN x11-toolkits/p5-Alien-wxWidgets.orig/files/patch-inc-My-Build-Base.pm x11-toolkits/p5-Alien-wxWidgets/files/patch-inc-My-Build-Base.pm --- x11-toolkits/p5-Alien-wxWidgets.orig/files/patch-inc-My-Build-Base.pm 2009-05-10 17:36:25.000000000 +0200 +++ x11-toolkits/p5-Alien-wxWidgets/files/patch-inc-My-Build-Base.pm 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ ---- inc/My/Build/Base.pm.orig 2009-03-21 00:11:09.000000000 +0100 -+++ inc/My/Build/Base.pm 2009-03-21 00:11:36.000000000 +0100 -@@ -108,7 +108,7 @@ - $ver =~ m/^(\d+)\.(\d+)\.(\d+)$/ and - $dec = $1 + $2 / 1000 + $3 / 1000000; - -- return $dec; -+ return sprintf( "%.6f", $dec ); - } - - sub _init_config { diff -ruN x11-toolkits/p5-Wx.orig/Makefile x11-toolkits/p5-Wx/Makefile --- x11-toolkits/p5-Wx.orig/Makefile 2009-05-10 17:38:14.000000000 +0200 +++ x11-toolkits/p5-Wx/Makefile 2009-05-10 17:35:52.000000000 +0200 @@ -6,7 +6,7 @@ # PORTNAME= Wx -PORTVERSION= 0.89 +PORTVERSION= 0.90 CATEGORIES= x11-toolkits perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -17,14 +17,21 @@ BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Alien/wxWidgets.pm:${PORTSDIR}/x11-toolkits/p5-Alien-wxWidgets RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Alien/wxWidgets.pm:${PORTSDIR}/x11-toolkits/p5-Alien-wxWidgets +OPTIONS= UNICODE "Build with Unicode support" on + USE_WX= 2.6+ WX_COMPS= wx contrib -WX_UNICODE= yes USE_DISPLAY= yes PERL_CONFIGURE= yes CC= ${CXX} CFLAGS+= -pthread -Wno-write-strings +.if defined(WITH_UNICODE) +WX_UNICODE= yes +.endif + +ALIEN_UNICODE= ${PERL} -MAlien::wxWidgets -e 'print Alien::wxWidgets->key' | ${GREP} "_uni_" + MAN1= wxperl_overload.1 \ wxperl_xspp.1 MAN3= Wx::Perl::TextValidator.3 \ @@ -43,6 +50,17 @@ Wx::XSP::Parser.3 \ Wx.3 +.if defined(WITH_UNICODE) +pre-configure: + @if [ ! "$$(${ALIEN_UNICODE})" ]; then \ + ${ECHO_MSG}; \ + ${ECHO_MSG} "===> It seems x11-toolkits/p5-Alien-wxWidget was compiled without"; \ + ${ECHO_MSG} " Unicode suport. Please rebuild it and try again."; \ + ${ECHO_MSG}; \ + exit 1; \ + fi +.endif + post-configure: @${FIND} ${WRKSRC} -name "Makefile" -type f | ${XARGS} \ ${REINPLACE_CMD} -e 's/^CCFLAGS = .*$$/CCFLAGS = ${CFLAGS}/' diff -ruN x11-toolkits/p5-Wx.orig/distinfo x11-toolkits/p5-Wx/distinfo --- x11-toolkits/p5-Wx.orig/distinfo 2009-05-10 17:38:14.000000000 +0200 +++ x11-toolkits/p5-Wx/distinfo 2009-05-10 17:35:52.000000000 +0200 @@ -1,3 +1,3 @@ -MD5 (Wx-0.89.tar.gz) = 6f7c8bb0bca7746feaff344770bf670b -SHA256 (Wx-0.89.tar.gz) = de005a0b9da66b49b190ae927c4160128d05d1c123c0f3fe042a1e306ca0ce99 -SIZE (Wx-0.89.tar.gz) = 368716 +MD5 (Wx-0.90.tar.gz) = 92dc8a47262fe51f37e6321f0977a4ee +SHA256 (Wx-0.90.tar.gz) = ce1f9ab4a3a01a1f0c61843c4f913953b16e9543b3d3b6974eae99b9ed09a46a +SIZE (Wx-0.90.tar.gz) = 369853 diff -ruN x11-toolkits/p5-Wx-Perl-ProcessStream.orig/Makefile x11-toolkits/p5-Wx-Perl-ProcessStream/Makefile --- x11-toolkits/p5-Wx-Perl-ProcessStream.orig/Makefile 2009-05-10 17:38:24.000000000 +0200 +++ x11-toolkits/p5-Wx-Perl-ProcessStream/Makefile 2009-05-10 17:35:52.000000000 +0200 @@ -7,6 +7,7 @@ PORTNAME= Wx-Perl-ProcessStream PORTVERSION= 0.11 +PORTREVISION= 1 CATEGORIES= x11-toolkits perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905101549.n4AFnwHV073313>