pkgsrc/x11/p5-Wx/patches/patch-build_Wx_build_MakeMaker.pm
schmonz 13dd95037e 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.
2013-01-19 17:14:48 +00:00

26 lines
637 B
Raku

$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;