summaryrefslogtreecommitdiffstats
path: root/www/ruby-gtkmozembed/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/ruby-gtkmozembed/files')
-rw-r--r--www/ruby-gtkmozembed/files/patch-extconf.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/ruby-gtkmozembed/files/patch-extconf.rb b/www/ruby-gtkmozembed/files/patch-extconf.rb
new file mode 100644
index 000000000..c08018c84
--- /dev/null
+++ b/www/ruby-gtkmozembed/files/patch-extconf.rb
@@ -0,0 +1,12 @@
+--- extconf.rb.orig Sun Jul 2 19:15:05 2006
++++ extconf.rb Sun Jul 2 19:19:25 2006
+@@ -23,8 +23,7 @@
+ PKGConfig.have_package(PACKAGE_ID)
+ setup_win32(PACKAGE_NAME)
+
+-mozpath = PKGConfig.libs_only_L(PACKAGE_ID)
+-mozpath.strip!.sub!(/^-L/, "")
++mozpath = "%%GECKO_PATH%%"
+
+ if mozpath
+ # please comment the CFLAGS line if you don't want a default comp_path