From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 26 09:00:13 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFD3E1065676 for ; Thu, 26 Mar 2009 09:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 974C28FC0C for ; Thu, 26 Mar 2009 09:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2Q90DCl078172 for ; Thu, 26 Mar 2009 09:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2Q90DPA078171; Thu, 26 Mar 2009 09:00:13 GMT (envelope-from gnats) Resent-Date: Thu, 26 Mar 2009 09:00:13 GMT Resent-Message-Id: <200903260900.n2Q90DPA078171@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Cezary Morga Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9D11106566C for ; Thu, 26 Mar 2009 08:53:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id B74588FC08 for ; Thu, 26 Mar 2009 08:53:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2Q8rHCg045143 for ; Thu, 26 Mar 2009 08:53:17 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2Q8rHBP045142; Thu, 26 Mar 2009 08:53:17 GMT (envelope-from nobody) Message-Id: <200903260853.n2Q8rHBP045142@www.freebsd.org> Date: Thu, 26 Mar 2009 08:53:17 GMT From: Cezary Morga To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/133086: [maintainer update] Update of editors/p5-Padre to fix pointyhat build problems X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 09:00:14 -0000 >Number: 133086 >Category: ports >Synopsis: [maintainer update] Update of editors/p5-Padre to fix pointyhat build problems >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Mar 26 09:00:13 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Cezary Morga >Release: FreeBSD 7-STABLE i386 >Organization: >Environment: >Description: - Add IGNORE if Perl without thread support is installed. - Fix return value for human readable Wx version number. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN editors/p5-Padre.orig/Makefile editors/p5-Padre/Makefile --- editors/p5-Padre.orig/Makefile 2009-03-26 09:43:15.000000000 +0100 +++ editors/p5-Padre/Makefile 2009-03-26 09:43:41.000000000 +0100 @@ -69,7 +69,13 @@ USE_PERL5= 5.8.5+ USE_GETTEXT= yes -PERL_THREADS= ${PERL} -V::usethreads +.include + +PERL_THREADS!= ${PERL} -V::usethreads + +.if ${PERL_THREADS}!="'define';" +IGNORE= needs a threaded Perl, build with WITH_THREADS=yes flag and try again +.endif MAN3= Padre.3 \ Padre::Autosave.3 \ @@ -117,16 +123,7 @@ Wx::Perl::Dialog::Simple.3 \ Wx::Perl::Dialog::SingleChoice.3 -pre-configure: - @if [ "$$(${PERL_THREADS})" = "'undef';" ]; then \ - ${ECHO_MSG}; \ - ${ECHO_MSG} "===> ${PKGNAME} requires Perl with thread support built-in!"; \ - ${ECHO_MSG} " Please, recompile Perl with WITH_THREADS=yes flag and try again."; \ - ${ECHO_MSG}; \ - exit 2; \ - fi - post-patch: @${REINPLACE_CMD} -e 's|use File::Spec.*$$||' ${WRKSRC}/lib/Padre/Config/Human.pm -.include +.include diff -ruN editors/p5-Padre.orig/files/patch-inc-Module-Install-PRIVATE-Padre.pm editors/p5-Padre/files/patch-inc-Module-Install-PRIVATE-Padre.pm --- editors/p5-Padre.orig/files/patch-inc-Module-Install-PRIVATE-Padre.pm 1970-01-01 01:00:00.000000000 +0100 +++ editors/p5-Padre/files/patch-inc-Module-Install-PRIVATE-Padre.pm 2009-03-26 09:43:41.000000000 +0100 @@ -0,0 +1,11 @@ +--- inc/Module/Install/PRIVATE/Padre.pm.orig 2009-03-25 18:14:22.647642180 +0100 ++++ inc/Module/Install/PRIVATE/Padre.pm 2009-03-25 18:14:56.500567901 +0100 +@@ -61,7 +61,7 @@ + } + my $widgets_human = $widgets; + $widgets_human =~ s/^(\d\.\d\d\d)(\d\d\d)$/$1.$2/; +- $widgets_human =~ s/0//g; ++ $widgets_human =~ s/\.0*/./g; + print "Found wxWidgets $widgets_human\n"; + unless ( $widgets >= 2.008008 ) { + nono("Padre needs at least version 2.8.8 of wxWidgets. You have wxWidgets $widgets_human"); >Release-Note: >Audit-Trail: >Unformatted: