diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-10-18 10:43:43 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-10-18 10:43:43 +0000 |
commit | 610b5880c002b7d21aabc76d2caea196d1ce0d68 (patch) | |
tree | 61320845e5cf4379c6e9347e8dc19ada25e92316 /devel/ruby-glib2 | |
parent | 32f2c2e39e88c45cecf5a32f71cd2c28bc7ce781 (diff) |
Patch mkmf-gnome2.rb for Ruby 1.6. This should fix the build failure
of ruby-gdk_pixbuf2.
Notes
Notes:
svn path=/head/; revision=91563
Diffstat (limited to 'devel/ruby-glib2')
-rw-r--r-- | devel/ruby-glib2/Makefile | 1 | ||||
-rw-r--r-- | devel/ruby-glib2/files/patch-mkmf-gnome2.rb | 15 |
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") |