File: 0001-FixLibraryPath.patch

package info (click to toggle)
ruby-fftw3 0.4-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 128 kB
  • ctags: 16
  • sloc: ansic: 223; ruby: 64; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 576 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
From: Youhei SASAKI <uwabami@gfd-dennou.org>
Date: Tue, 15 Oct 2013 17:00:05 +0900
Subject: FixLibraryPath

---
 extconf.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extconf.rb b/extconf.rb
index 1607ea7..8e53119 100644
--- a/extconf.rb
+++ b/extconf.rb
@@ -1,7 +1,7 @@
 require "mkmf"
 
-dir_config('narray',$sitearchdir,$sitearchdir)
-dir_config('fftw3','/usr/local')
+dir_config('narray',$vendorarchdir,$vendorarchdir)
+dir_config('fftw3','/usr')
 
 if ( ! ( have_header("narray.h") && have_header("narray_config.h") ) ) then
    print <<-EOS