mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
30 lines
628 B
Ruby
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
|