From ea1aa04940a55b7a36655482fb424d90ba472977 Mon Sep 17 00:00:00 2001 From: schmonz Date: Sat, 19 Jan 2013 17:14:48 +0000 Subject: Update to 0.9916. From the changelog: - put correct version check around wxLogChain::DetachOldLog - fixed paper type tests in ext/print/09_paper.t - fix bug for wxMac and wxwidgets 2.9.4+ in cpp/app.h - add some missing aui events - Wx::StyledTextCtrl additions for 2.9.4 - wxLog functions for 2.9.x added - wrapped wxRearrangeCtrl - added start of Wx::PerlTest - to aid documentation and examples - Additions for Wx::XSP::* classes - wrapped wxEventFilter for 2.9.3 + - updated missing Wx::App methods for 2.9.4 + - added wxEvtHandler::ProcessEventLocally for 2.9.1+ - added some absent wxWindow methods - updated wxTopLevelWindow - added wxFrame::ProcessCommand - wrapped wxListCtrl::SetItemPtrData. - updated to use sv_magicext / mg_findext so external modules do not stomp on our magic. - updated wxListView so that LC_VIRTUAL style works. - set wxListCtrl full constructor to create evthandler. - updated Wx::Ribbon controls for 2.9.4 interface + tool/button 'Add' and 'Insert' methods now return objects as described in the docs instead of int id's. - added SetClientData to PGProperty and PropertyGridInterface - Wx::ToolBar->SetClientData now deletes any prior set Wx::Object - wxDataViewListCtrl and wxDataViewListStore - fix ClientData for >= 2.9.4 - /usr/local/lib needs removing from LD:DL:FLAGS on all *nix types - nostdinc now removed from any flags on MacOSX - Fixed handling of asserts and debug level > 0 on wxWidgets >= 2.9.3 - Added wxApp::OnAssertFailure pkgsrc changes: - Don't let extra Mac stuff not in the PLIST get built on Darwin. --- x11/p5-Wx/Makefile | 5 ++--- x11/p5-Wx/distinfo | 9 ++++---- .../patches/patch-build_Wx_build_MakeMaker.pm | 26 ++++++++++++++++++++++ 3 files changed, 33 insertions(+), 7 deletions(-) create mode 100644 x11/p5-Wx/patches/patch-build_Wx_build_MakeMaker.pm (limited to 'x11/p5-Wx') diff --git a/x11/p5-Wx/Makefile b/x11/p5-Wx/Makefile index e947dff3a1c..c4567063238 100644 --- a/x11/p5-Wx/Makefile +++ b/x11/p5-Wx/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.27 2012/10/29 05:06:42 asau Exp $ +# $NetBSD: Makefile,v 1.28 2013/01/19 17:14:48 schmonz Exp $ -DISTNAME= Wx-0.9911 +DISTNAME= Wx-0.9916 PKGNAME= p5-${DISTNAME} -PKGREVISION= 4 CATEGORIES= x11 perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Wx/} diff --git a/x11/p5-Wx/distinfo b/x11/p5-Wx/distinfo index 448737b9255..6ca175901bb 100644 --- a/x11/p5-Wx/distinfo +++ b/x11/p5-Wx/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.7 2012/09/12 09:30:32 sno Exp $ +$NetBSD: distinfo,v 1.8 2013/01/19 17:14:48 schmonz Exp $ -SHA1 (Wx-0.9911.tar.gz) = 928bba26cd493a84ef7cb9579c7d3a9fcdec9d99 -RMD160 (Wx-0.9911.tar.gz) = 56f36c008240ae12cca16cc91f4bc7eac125058b -Size (Wx-0.9911.tar.gz) = 459762 bytes +SHA1 (Wx-0.9916.tar.gz) = 951a50076b0d81c4763a33b1cd0cd239168fb30c +RMD160 (Wx-0.9916.tar.gz) = e406122d93f78a313b460840352a95834064b489 +Size (Wx-0.9916.tar.gz) = 476639 bytes +SHA1 (patch-build_Wx_build_MakeMaker.pm) = c700f49085a9542ceb4555f351d491a9e6893612 diff --git a/x11/p5-Wx/patches/patch-build_Wx_build_MakeMaker.pm b/x11/p5-Wx/patches/patch-build_Wx_build_MakeMaker.pm new file mode 100644 index 00000000000..99e7e9d4e41 --- /dev/null +++ b/x11/p5-Wx/patches/patch-build_Wx_build_MakeMaker.pm @@ -0,0 +1,26 @@ +$NetBSD: patch-build_Wx_build_MakeMaker.pm,v 1.1 2013/01/19 17:14:49 schmonz Exp $ + +Don't let extra Mac stuff not in the PLIST get built on Darwin. + +--- build/Wx/build/MakeMaker.pm.orig 2012-04-26 02:28:24.000000000 +0000 ++++ build/Wx/build/MakeMaker.pm +@@ -139,6 +139,11 @@ BEGIN { + SWITCH: { + local $_ = $Config{osname}; + ++ # pkgsrc ++ m/.*/ and do { ++ goto DEFAULT; ++ }; ++ + # Win32 + m/MSWin32/ and do { + local $_ = File::Basename::basename( $Config{cc} ); +@@ -156,6 +161,7 @@ BEGIN { + last SWITCH; + }; + ++ DEFAULT: + # default + $package_to_use = 'Any_wx_config'; + last SWITCH; -- cgit v1.2.3