aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-10-18 18:43:43 +0800
committerknu <knu@FreeBSD.org>2003-10-18 18:43:43 +0800
commitc4b6b3b8bc7689d1ce467d2844310da82e0344be (patch)
tree4847e6a64c078d362f47aef12003651259543080 /devel
parent3712c707469b0f9daa33258fffa0cbad927ad401 (diff)
downloadfreebsd-ports-gnome-c4b6b3b8bc7689d1ce467d2844310da82e0344be.tar.gz
freebsd-ports-gnome-c4b6b3b8bc7689d1ce467d2844310da82e0344be.tar.zst
freebsd-ports-gnome-c4b6b3b8bc7689d1ce467d2844310da82e0344be.zip
Patch mkmf-gnome2.rb for Ruby 1.6. This should fix the build failure
of ruby-gdk_pixbuf2.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-glib2/Makefile1
-rw-r--r--devel/ruby-glib2/files/patch-mkmf-gnome2.rb15
2 files changed, 16 insertions, 0 deletions
diff --git a/devel/ruby-glib2/Makefile b/devel/ruby-glib2/Makefile
index d196fc25c301..d6dd123ddffb 100644
--- a/devel/ruby-glib2/Makefile
+++ b/devel/ruby-glib2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= glib2
PORTVERSION= ${RUBY_GNOME_PORTVERSION}
+PORTREVISION= 1
CATEGORIES= devel ruby
MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
diff --git a/devel/ruby-glib2/files/patch-mkmf-gnome2.rb b/devel/ruby-glib2/files/patch-mkmf-gnome2.rb
new file mode 100644
index 000000000000..b3541c1f364d
--- /dev/null
+++ b/devel/ruby-glib2/files/patch-mkmf-gnome2.rb
@@ -0,0 +1,15 @@
+--- src/lib/mkmf-gnome2.rb.orig Sun Sep 7 21:00:32 2003
++++ src/lib/mkmf-gnome2.rb Sat Oct 18 19:41:58 2003
+@@ -137,11 +137,7 @@
+ end
+ end
+
+-alias :old_create_makefile :create_makefile
+-def create_makefile(lib, src_prefix = nil)
+- $CFLAGS << " -I$(sitearchdir) "
+- old_create_makefile(lib, src_prefix)
+-end
++$CPPFLAGS << " -I$(sitearchdir) "
+
+ def create_top_makefile(sub_dirs = ["src"])
+ mfile = File.open("Makefile", "w")