diff options
author | taca <taca@pkgsrc.org> | 2011-08-12 16:29:04 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2011-08-12 16:29:04 +0000 |
commit | 0aba5f542ba3cea81f3e8f6a2a806451510c5af4 (patch) | |
tree | b4b9d845efd3baaf9036241fbdb062add1511df9 /devel | |
parent | 3fbe4712a0ab6df4e490a60f44f6245df9d86374 (diff) | |
download | pkgsrc-0aba5f542ba3cea81f3e8f6a2a806451510c5af4.tar.gz |
Pass CCDLFLAGS to C compiler to fix recent build problem.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-eet/distinfo | 3 | ||||
-rw-r--r-- | devel/ruby-eet/patches/patch-rake_extensiontask.rb | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/ruby-eet/distinfo b/devel/ruby-eet/distinfo index 4d325aed652..1a8335dfc80 100644 --- a/devel/ruby-eet/distinfo +++ b/devel/ruby-eet/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/10/26 06:12:29 minskim Exp $ +$NetBSD: distinfo,v 1.2 2011/08/12 16:29:04 taca Exp $ SHA1 (ruby-eet-0.1.4.tar.gz) = 16e1824179b019f48a554388aadf5168521cad51 RMD160 (ruby-eet-0.1.4.tar.gz) = 10521754510e8f8bd00372031d663c0ebdae41c2 Size (ruby-eet-0.1.4.tar.gz) = 19972 bytes +SHA1 (patch-rake_extensiontask.rb) = 89ab3da8bcbf2e1ec5a8ca4f9047ec19698f4392 diff --git a/devel/ruby-eet/patches/patch-rake_extensiontask.rb b/devel/ruby-eet/patches/patch-rake_extensiontask.rb new file mode 100644 index 00000000000..a2b75e09f2d --- /dev/null +++ b/devel/ruby-eet/patches/patch-rake_extensiontask.rb @@ -0,0 +1,15 @@ +$NetBSD: patch-rake_extensiontask.rb,v 1.1 2011/08/12 16:29:04 taca Exp $ + +* Add proper compiler flags. + +--- rake/extensiontask.rb.orig 2007-03-23 11:05:12.000000000 +0000 ++++ rake/extensiontask.rb +@@ -98,7 +98,7 @@ module Rake + def define_rules + for ext in env[:c_exts] + Rake::Task.create_rule '.'+env[:objext] => '.'+ext do |r| +- sh_cmd :cc, :cflags, :cppflags, {'-D' => :defines}, {'-I' => :includedirs}, {'-I' => :topdir}, ++ sh_cmd :cc, :cflags, :ccdlflags, :cppflags, {'-D' => :defines}, {'-I' => :includedirs}, {'-I' => :topdir}, + '-c', '-o', r.name, r.sources + end + end |