From c494742bdd933c222457fdf2f748aaac71035b44 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sat, 25 Dec 2004 18:30:27 +0000 Subject: Update to 1.5.4. --- math/ruby-gsl/files/patch-extconf.rb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 math/ruby-gsl/files/patch-extconf.rb (limited to 'math/ruby-gsl/files/patch-extconf.rb') 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") -- cgit v1.2.3