pkgsrc/graphics/ruby-clutter/patches/patch-aa
obache 12ce300332 Import ruby-clutter-0.8.0 as graphics/ruby-clutter.
This is a set of bindings for the Clutter libraries for use from Ruby.
2008-12-16 12:22:38 +00:00

18 lines
631 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2008/12/16 12:22:38 obache Exp $
Fixes detection of gems rcairo.
--- clutter-cairo/extconf.rb.orig 2008-08-05 14:32:00.000000000 +0000
+++ clutter-cairo/extconf.rb
@@ -24,9 +24,9 @@ TOPDIR = File.expand_path(File.dirname(_
PKGConfig.have_package('glib-2.0') or show_fail
PKGConfig.have_package('clutter-0.8') or show_fail
PKGConfig.have_package('clutter-cairo-0.8') or show_fail
-PKGConfig.have_package('cairo') or show_fail
-find_header("rb_cairo.h", *$:) or show_fail
+check_cairo or show_fail
+
find_header("rbgobject.h", *$:) or show_fail
add_depend_package("clutter", "clutter", TOPDIR)