projects
/
booh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55190ac
)
try to workaround problem with rg2 0.17.0rc1
0.9.2
author
Guillaume Cottenceau
<gcottenc@gmail.com>
Thu, 10 Sep 2009 08:10:29 +0000
(10:10 +0200)
committer
Guillaume Cottenceau
<gcottenc@gmail.com>
Thu, 10 Sep 2009 08:10:29 +0000
(10:10 +0200)
ext/extconf.rb
patch
|
blob
|
history
diff --git
a/ext/extconf.rb
b/ext/extconf.rb
index a591f1bfc9a65e9fd79f9d33165f9deaadccdd88..a05b9f7d534f07ce874a0e6d45edb7826b4eb119 100644
(file)
--- a/
ext/extconf.rb
+++ b/
ext/extconf.rb
@@
-16,4
+16,9
@@
PKGConfig.have_package('exiv2') or exit 1
#- does it do something good, actually?
setup_win32(PACKAGE_NAME)
-create_makefile_at_srcdir(PACKAGE_NAME, File.dirname(__FILE__))
+begin
+ create_makefile_at_srcdir(PACKAGE_NAME, File.dirname(__FILE__))
+rescue NoMethodError
+ #- bug in rg2 0.17.0rc1, unfortunately on "stable" ubuntu jaunty
+ create_makefile_at_srcdir(PACKAGE_NAME, 'ext')
+end