diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2004-12-25 18:30:27 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2004-12-25 18:30:27 +0000 |
commit | c494742bdd933c222457fdf2f748aaac71035b44 (patch) | |
tree | d3267a254f8556b580566f7bd09a08bc2bcf3c0c /math/ruby-gsl/files | |
parent | Update to 1.7.0. (diff) |
Update to 1.5.4.
Notes
Notes:
svn path=/head/; revision=125146
Diffstat (limited to 'math/ruby-gsl/files')
-rw-r--r-- | math/ruby-gsl/files/patch-extconf.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/math/ruby-gsl/files/patch-extconf.rb b/math/ruby-gsl/files/patch-extconf.rb new file mode 100644 index 000000000000..b298bccedd19 --- /dev/null +++ b/math/ruby-gsl/files/patch-extconf.rb @@ -0,0 +1,27 @@ +--- ext/extconf.rb.orig Mon Dec 6 01:16:04 2004 ++++ ext/extconf.rb Sun Dec 26 03:26:56 2004 +@@ -2,13 +2,13 @@ + + def gsl_config() + print("checking gsl cflags... ") +- IO.popen("sh gsl-config --cflags") do |f| ++ IO.popen("gsl-config --cflags") do |f| + cflags = f.gets.chomp + puts(cflags) + $CFLAGS += " -Wall " + cflags + end + +- IO.popen("sh gsl-config --libs") do |f| ++ IO.popen("gsl-config --libs") do |f| + libs = f.gets.chomp + dir_config("cblas") + dir_config("atlas") +@@ -29,7 +29,7 @@ + def check_version(configfile) + + print("checking gsl version... ") +- IO.popen("sh gsl-config --version") do |f| ++ IO.popen("gsl-config --version") do |f| + ver = f.gets.chomp + puts(ver) + configfile.printf("#ifndef GSL_VERSION\n#define GSL_VERSION \"#{ver}\"\n#endif\n") |