File: 0001-Change-NArray-Directory-for-Debian-s-Ruby-vendor-lib.patch

package info (click to toggle)
ruby-netcdf 0.6.6-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,192 kB
  • sloc: ansic: 3,968; ruby: 1,661; makefile: 9; csh: 6
file content (23 lines) | stat: -rw-r--r-- 705 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Date: Wed, 22 Feb 2012 17:49:07 +0900
Subject: Change NArray Directory for Debian's Ruby vendor library location

Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
---
 extconf.rb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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