mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
- Fix the build: Use wxgtk2-2.4-config instead of wx-config.
- Bump PORTREVISION.
This commit is contained in:
parent
4a9e32b0cc
commit
b804c3fea9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136439
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= wx
|
||||
PORTVERSION= 0.6.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= x11-toolkits ruby
|
||||
MASTER_SITES= http://rubyforge.org/frs/download.php/1983/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
|
@ -1,15 +1,19 @@
|
||||
--- extconf.rb.orig Wed Nov 17 15:56:22 2004
|
||||
+++ extconf.rb Fri Feb 11 00:42:43 2005
|
||||
--- extconf.rb.orig Wed Nov 17 20:56:22 2004
|
||||
+++ extconf.rb Mon May 30 21:50:18 2005
|
||||
@@ -32,13 +32,16 @@
|
||||
end
|
||||
|
||||
|
||||
-if /linux/ =~ RUBY_PLATFORM or /i386-freebsd/ =~ RUBY_PLATFORM
|
||||
- CONFIG['CC'] = `wx-config --cxx`
|
||||
- CONFIG['LDSHARED'].gsub!("gcc",`wx-config --cxx`.strip)
|
||||
- $CFLAGS += " `wx-config --cxxflags`"
|
||||
- $LDFLAGS += " `wx-config --libs` -Wl,--version-script,./version-script "
|
||||
+if /linux/ =~ RUBY_PLATFORM or /freebsd/ =~ RUBY_PLATFORM
|
||||
CONFIG['CC'] = `wx-config --cxx`
|
||||
CONFIG['LDSHARED'].gsub!("gcc",`wx-config --cxx`.strip)
|
||||
$CFLAGS += " `wx-config --cxxflags`"
|
||||
$LDFLAGS += " `wx-config --libs` -Wl,--version-script,./version-script "
|
||||
+ CONFIG['CC'] = `wxgtk2-2.4-config --cxx`
|
||||
+ CONFIG['LDSHARED'].gsub!("gcc",`wxgtk2-2.4-config --cxx`.strip)
|
||||
+ $CFLAGS += " `wxgtk2-2.4-config --cxxflags`"
|
||||
+ $LDFLAGS += " `wxgtk2-2.4-config --libs` -Wl,--version-script,./version-script "
|
||||
["htmlprocessor.o", "htmlwindow.o", "htmleasyprinting.o"].each do |str|
|
||||
$objs.delete(str)
|
||||
+ end
|
||||
|
Loading…
Reference in New Issue
Block a user