File: 0500_fix_metadata_for_extensions.patch

package info (click to toggle)
ruby-opengl 0.60.1%2Bdfsg2-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,044 kB
  • ctags: 4,889
  • sloc: ansic: 24,676; ruby: 9,400; sh: 12; makefile: 10
file content (28 lines) | stat: -rw-r--r-- 771 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: fix metadata to correctly build extensions
Author: Cédric Boutillier <cedric.boutillier@gmail.com>
Last-Update: 2012-04-22

--- a/Rakefile
+++ b/Rakefile
@@ -153,7 +153,7 @@
     s.platform          = Gem::Platform::RUBY
     s.summary           = "OpenGL Interface for Ruby"
     s.files             = gem_files
-    s.extensions        << 'Rakefile'
+    s.extensions        << 'ext/gl/mkrf_conf.rb' <<'ext/glu/mkrf_conf.rb'<<'ext/glut/mkrf_conf.rb' 
     s.require_path      = "lib"
     s.autorequire       = "gl"
     s.has_rdoc          = false
--- a/metadata.yml
+++ b/metadata.yml
@@ -40,7 +40,9 @@
 executables: []
 
 extensions: 
-- Rakefile
+- ext/gl/mkrf_conf.rb
+- ext/glu/mkrf_conf.rb
+- ext/glut/mkrf_conf.rb
 extra_rdoc_files: []
 
 files: