pkgsrc-ng/x11/ruby-wxruby/patches/patch-rake_rakenetbsd.rb
2013-09-26 17:14:40 +02:00

30 lines
628 B
Ruby

$NetBSD: patch-rake_rakenetbsd.rb,v 1.2 2012/03/14 03:41:17 taca Exp $
* Configuration for NetBSD.
--- rake/rakenetbsd.rb.orig 2009-09-08 20:36:50.000000000 +0000
+++ rake/rakenetbsd.rb
@@ -6,6 +6,20 @@
#############################
# platform-dependent settings
-use_wx_config
+require './rake/rakeunixish'
-$extra_ld_flags = '-shared'
+# pkgsrc include dir
+$wx_libs = wx_config("--libs media,std,stc,gl")
+$extra_cppflags = "-I@PREFIX@include"
+
+# This class is not available on WXGTK
+$excluded_classes << 'PrinterDC'
+
+if false
+ p $wx_version
+ p $wx_cppflags
+ p $cpp
+ p $ld
+ p $wx_libs
+ exit
+end