summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
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