aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Math-GSL/Makefile
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/p5-Math-GSL/Makefile
parent3af54f2d0c3a2f038cc92d1e368b6500eb1bbc0f (diff)
Notes
Diffstat (limited to 'math/p5-Math-GSL/Makefile')
-rw-r--r--math/p5-Math-GSL/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/math/p5-Math-GSL/Makefile b/math/p5-Math-GSL/Makefile
index 47315be658d5..d34e66b948d2 100644
--- a/math/p5-Math-GSL/Makefile
+++ b/math/p5-Math-GSL/Makefile
@@ -3,6 +3,7 @@
PORTNAME= Math-GSL
PORTVERSION= 0.27
+PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -82,4 +83,10 @@ MAN3= Math::GSL.3 \
BROKEN= Does not compile on sparc64
.endif
+post-patch:
+ @${REINPLACE_CMD} -Ee 's/(\()(back|for)(ward\))/\1gsl_fft_\2\3/' \
+ ${WRKSRC}/xs/FFT_wrap.1.15.c
+ @${REINPLACE_CMD} -Ee 's/(\()(back|for)(ward\))/\1gsl_wavelet_\2\3/' \
+ ${WRKSRC}/xs/Wavelet_wrap.1.15.c
+
.include <bsd.port.post.mk>