summaryrefslogtreecommitdiff
path: root/math/ruby-gsl
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-12-01 20:33:45 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-12-01 20:33:45 +0000
commit7cb3294da78ddd596f197b8f599a9bc3f3c83eac (patch)
tree1c72184bc6e535e324c3903ec7138b0daceaed97 /math/ruby-gsl
parentUpdate to 1.13 (diff)
Chase math/gsl update,
bump PORTREVISION
Notes
Notes: svn path=/head/; revision=245074
Diffstat (limited to 'math/ruby-gsl')
-rw-r--r--math/ruby-gsl/Makefile4
-rw-r--r--math/ruby-gsl/files/patch-ext__const.c10
2 files changed, 12 insertions, 2 deletions
diff --git a/math/ruby-gsl/Makefile b/math/ruby-gsl/Makefile
index a61844787869..c23f8e3d0f73 100644
--- a/math/ruby-gsl/Makefile
+++ b/math/ruby-gsl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gsl
PORTVERSION= 1.10.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math ruby
MASTER_SITES= RF
MASTER_SITE_SUBDIR= rb-${PORTNAME}
@@ -18,7 +18,7 @@ DIST_SUBDIR= ruby
MAINTAINER= clsung@FreeBSD.org
COMMENT= A Ruby extension library for GSL (GNU Scientific Library)
-LIB_DEPENDS= gsl.13:${PORTSDIR}/math/gsl
+LIB_DEPENDS= gsl.14:${PORTSDIR}/math/gsl
USE_RUBY= yes
USE_RUBY_SETUP= yes
diff --git a/math/ruby-gsl/files/patch-ext__const.c b/math/ruby-gsl/files/patch-ext__const.c
new file mode 100644
index 000000000000..d0e4e16c5bd5
--- /dev/null
+++ b/math/ruby-gsl/files/patch-ext__const.c
@@ -0,0 +1,10 @@
+--- ./ext/const.c.orig 2007-12-08 17:45:32.000000000 +0300
++++ ./ext/const.c 2009-11-28 23:21:00.000000000 +0300
+@@ -599,7 +599,6 @@
+ rb_float_new(GSL_CONST_CGSM_ELECTRON_CHARGE));
+ rb_define_const(module, "ELECTRON_CHARGE_ESU",
+ rb_float_new(GSL_CONST_CGSM_ELECTRON_CHARGE*GSL_CONST_CGSM_SPEED_OF_LIGHT));
+- rb_define_const(module, "GAUSS", rb_float_new(GSL_CONST_CGSM_GAUSS));
+ rb_define_const(module, "STILB", rb_float_new(GSL_CONST_CGSM_STILB));
+ rb_define_const(module, "LUMEN", rb_float_new(GSL_CONST_CGSM_LUMEN));
+ rb_define_const(module, "LUX", rb_float_new(GSL_CONST_CGSM_LUX));