summaryrefslogtreecommitdiff
path: root/math/ruby-gsl
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2013-08-26 16:06:37 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2013-08-26 16:06:37 +0000
commit6c4fa199d028f22e1f32896f15cbafd93ed40845 (patch)
tree347697fba4162ae0c60ff32a1a87d6d7f894c389 /math/ruby-gsl
parent- Add executable bit for node-gyp (diff)
Update math/gsl to 1.16 and adjust some dependent ports
Notes
Notes: svn path=/head/; revision=325401
Diffstat (limited to 'math/ruby-gsl')
-rw-r--r--math/ruby-gsl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/ruby-gsl/Makefile b/math/ruby-gsl/Makefile
index 3258eabe755e..ad1ab6aba263 100644
--- a/math/ruby-gsl/Makefile
+++ b/math/ruby-gsl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gsl
PORTVERSION= 1.14.7
+PORTREVISION= 1
CATEGORIES= math ruby
MASTER_SITES= RF
MASTER_SITE_SUBDIR= rb-${PORTNAME}
@@ -18,7 +19,7 @@ DIST_SUBDIR= ruby
MAINTAINER= clsung@FreeBSD.org
COMMENT= A Ruby extension library for GSL (GNU Scientific Library)
-LIB_DEPENDS= gsl.16:${PORTSDIR}/math/gsl
+LIB_DEPENDS= gsl:${PORTSDIR}/math/gsl
USE_RUBY= yes
USE_RUBY_SETUP= yes
@@ -35,6 +36,11 @@ post-patch:
${WRKSRC}/ext/matrix_complex.c
${REINPLACE_CMD} -e 's|gsl_vector_complex_equal|rb_&|g' \
${WRKSRC}/ext/vector_complex.c
+ ${REINPLACE_CMD} -Ee \
+ '/(gsl_wavelet_direction|INT2FIX)/s/(for|back)ward/gsl_wavelet_&/' \
+ ${WRKSRC}/ext/wavelet.c
+ ${REINPLACE_CMD} -Ee '/INT2FIX/s/(for|back)ward/gsl_fft_&/' \
+ ${WRKSRC}/ext/fft.c
post-install:
.if !defined(NOPORTEXAMPLES)