Package: ruby-pgplot / 0.1.9-3

0000-Update-NArray-PATH.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Youhei SASAKI <uwabami@gfd-dennou.org>
Date: Sun, 6 Mar 2016 21:59:11 +0900
Subject: Update-NArray-PATH

---
 ext/extconf.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ext/extconf.rb b/ext/extconf.rb
index f576b30..e31d94b 100644
--- a/ext/extconf.rb
+++ b/ext/extconf.rb
@@ -56,8 +56,9 @@ if narray_h_dir =
     find_dir_in_gemspec ||
     find_dir_w_file("../"+narray_d,narray_h) ||
     find_dir_w_file(gems_dir+narray_d,narray_h) ||
+    find_dir_w_file(CONFIG['vendorarchdir'],narray_h) ||
     find_dir_w_file(CONFIG['sitearchdir'],narray_h) ||
-    find_dir_w_file(CONFIG['archdir'],narray_h)
+    find_dir_w_file(CONFIG['archdir'],narray_h) 
   $CPPFLAGS = " -I#{narray_h_dir} " + $CPPFLAGS
 end
 exit unless have_header("narray.h")