summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorwiz <wiz>2010-03-18 17:22:36 +0000
committerwiz <wiz>2010-03-18 17:22:36 +0000
commit0a38c05cadb05acdd4593f8d927801876638eeaf (patch)
tree4c982885a6834e0e365f5d3ff1cf8105e0ee592d /math
parent8719e9d14cc79128ae362d2915ec27bdcaa84d0a (diff)
downloadpkgsrc-0a38c05cadb05acdd4593f8d927801876638eeaf.tar.gz
Remove two constants that are not defined by gsl any longer (since 1.13).
Fixes build, but bump PKGREVISION anyway since there were some packages with this version that did build. Set LICENSE.
Diffstat (limited to 'math')
-rw-r--r--math/ruby-rb-gsl/Makefile4
-rw-r--r--math/ruby-rb-gsl/distinfo3
-rw-r--r--math/ruby-rb-gsl/patches/patch-aa20
3 files changed, 25 insertions, 2 deletions
diff --git a/math/ruby-rb-gsl/Makefile b/math/ruby-rb-gsl/Makefile
index f0ae795422e..fdc99d27ae3 100644
--- a/math/ruby-rb-gsl/Makefile
+++ b/math/ruby-rb-gsl/Makefile
@@ -1,13 +1,15 @@
-# $NetBSD: Makefile,v 1.4 2008/07/14 12:56:08 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2010/03/18 17:22:36 wiz Exp $
DISTNAME= rb-gsl-1.10.3
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= math ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/28909/
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://rb-gsl.rubyforge.org/
COMMENT= Ruby interface to the GNU Scientific Library
+LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
diff --git a/math/ruby-rb-gsl/distinfo b/math/ruby-rb-gsl/distinfo
index a5046f0613f..60cad67d650 100644
--- a/math/ruby-rb-gsl/distinfo
+++ b/math/ruby-rb-gsl/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2008/06/20 15:34:33 minskim Exp $
+$NetBSD: distinfo,v 1.4 2010/03/18 17:22:36 wiz Exp $
SHA1 (rb-gsl-1.10.3.tar.gz) = a6eb96a12a65b3996b8b8801454c89ce5fc5413c
RMD160 (rb-gsl-1.10.3.tar.gz) = 5c31b03070135f7684a4ba5db1f2209e62e2c9d2
Size (rb-gsl-1.10.3.tar.gz) = 722963 bytes
+SHA1 (patch-aa) = 267e2753e97344cb7682ae8e55bab97440803616
diff --git a/math/ruby-rb-gsl/patches/patch-aa b/math/ruby-rb-gsl/patches/patch-aa
new file mode 100644
index 00000000000..099a4080ae2
--- /dev/null
+++ b/math/ruby-rb-gsl/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.3 2010/03/18 17:22:36 wiz Exp $
+
+--- ext/const.c.orig 2007-12-08 14:45:32.000000000 +0000
++++ ext/const.c
+@@ -276,7 +276,6 @@ static void rb_gsl_const_cgs(VALUE modul
+ rb_float_new(GSL_CONST_CGS_ELECTRON_CHARGE));
+ rb_define_const(module, "ELECTRON_CHARGE_ESU",
+ rb_float_new(GSL_CONST_CGS_ELECTRON_CHARGE*GSL_CONST_CGS_SPEED_OF_LIGHT));
+- rb_define_const(module, "GAUSS", rb_float_new(GSL_CONST_CGS_GAUSS));
+ rb_define_const(module, "STILB", rb_float_new(GSL_CONST_CGS_STILB));
+ rb_define_const(module, "LUMEN", rb_float_new(GSL_CONST_CGS_LUMEN));
+ rb_define_const(module, "LUX", rb_float_new(GSL_CONST_CGS_LUX));
+@@ -599,7 +598,6 @@ static void rb_gsl_const_cgs(VALUE modul
+ 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));