summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2006-11-04 01:33:48 +0000
committermezz <mezz@FreeBSD.org>2006-11-04 01:33:48 +0000
commitbbdde9636c4d88f66c2191cec5bc37d718f79bcb (patch)
tree82dc549f24c6d6d13eceed10e54b3cb5fea3bf49 /www
parent62a063e934a9293e0fc20039214b2792f7ec5ad2 (diff)
downloadFreeBSD-ports-bbdde9636c4d88f66c2191cec5bc37d718f79bcb.zip
FreeBSD-ports-bbdde9636c4d88f66c2191cec5bc37d718f79bcb.tar.gz
- Fix the build with Firefox 2.x.
- While I am here add firefox15 in the support list. It's untest, but it works before Firefox updated to 2.x. Reported by: krismail
Diffstat (limited to 'www')
-rw-r--r--www/ruby-gtkmozembed/Makefile3
-rw-r--r--www/ruby-gtkmozembed/files/patch-.._glib_src_lib_mkmf-gnome2.rb13
2 files changed, 15 insertions, 1 deletions
diff --git a/www/ruby-gtkmozembed/Makefile b/www/ruby-gtkmozembed/Makefile
index 5b36680..7c977946 100644
--- a/www/ruby-gtkmozembed/Makefile
+++ b/www/ruby-gtkmozembed/Makefile
@@ -22,7 +22,8 @@ COMMENT= Ruby binding for GtkMozEmbed a widget embedding a Gecko renderer
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
USE_RUBY= yes
-USE_GECKO= firefox mozilla xulrunner
+USE_GECKO= firefox mozilla xulrunner firefox15
+USE_DOS2UNIX= ../glib/src/lib/mkmf-gnome2.rb
USE_RUBY_EXTCONF= yes
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
diff --git a/www/ruby-gtkmozembed/files/patch-.._glib_src_lib_mkmf-gnome2.rb b/www/ruby-gtkmozembed/files/patch-.._glib_src_lib_mkmf-gnome2.rb
new file mode 100644
index 0000000..9c9564d
--- /dev/null
+++ b/www/ruby-gtkmozembed/files/patch-.._glib_src_lib_mkmf-gnome2.rb
@@ -0,0 +1,13 @@
+--- ../glib/src/lib/mkmf-gnome2.rb.orig Fri Nov 3 18:58:17 2006
++++ ../glib/src/lib/mkmf-gnome2.rb Fri Nov 3 18:58:45 2006
+@@ -184,6 +184,10 @@
+ def make_version_header(app_name, pkgname, dir = "src")
+ version = PKGConfig.modversion(pkgname).split(/\./)
+
++ if "#{version[2]}" == ""
++ version[2] = 0
++ end
++
+ filename = "rb#{app_name.downcase}version.h"
+
+ puts "creating #{filename}"
OpenPOWER on IntegriCloud