File: 0000-Update-NArray-PATH.patch

package info (click to toggle)
ruby-pgplot 0.1.9-3
  • links: PTS, VCS
  • area: contrib
  • in suites: buster, stretch
  • size: 604 kB
  • ctags: 144
  • sloc: ruby: 1,607; makefile: 76; ansic: 57; sh: 17
file content (23 lines) | stat: -rw-r--r-- 774 bytes parent folder | 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")