aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-04-18 07:07:53 +0800
committerlioux <lioux@FreeBSD.org>2005-04-18 07:07:53 +0800
commitf9290d672e82e0d3cc72ff6f5549b25fa5545cbc (patch)
treef75cd65c3723abc1b7bbb656dbde3433d9611824 /math
parent598dc27cfa0ed154945f56dfc58501d7342970eb (diff)
downloadfreebsd-ports-graphics-f9290d672e82e0d3cc72ff6f5549b25fa5545cbc.tar.gz
freebsd-ports-graphics-f9290d672e82e0d3cc72ff6f5549b25fa5545cbc.tar.zst
freebsd-ports-graphics-f9290d672e82e0d3cc72ff6f5549b25fa5545cbc.zip
o Replace dependency on USE_PERL5_BUILD with USE_REINPLACE. Perl
was used for post-patch regexps o Bump PORTREVISION due to dependency change
Diffstat (limited to 'math')
-rw-r--r--math/djbfft/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/math/djbfft/Makefile b/math/djbfft/Makefile
index 90d40d870e7..089771b5e44 100644
--- a/math/djbfft/Makefile
+++ b/math/djbfft/Makefile
@@ -7,7 +7,7 @@
PORTNAME= djbfft
PORTVERSION= 0.76
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= http://cr.yp.to/djbfft/
@@ -19,7 +19,7 @@ NO_PACKAGE= Forbidden - we have patches to the distribution.
DISABLE_SIZE= yes
ALL_TARGET=
INSTALL_TARGET=setup check
-USE_PERL5_BUILD=yes
+USE_REINPLACE= yes
HEADER_FILES= complex4.h complex8.h fftc4.h fftc8.h fftfreq.h \
fftr4.h fftr8.h real4.h real8.h
@@ -27,8 +27,8 @@ LIB_FILES= libdjbfft.a
post-patch:
@${FIND} ${WRKSRC} -type f -exec \
- ${PERL} -pi -e 's!(djbfft.a)!lib\1!' {} \;
- @${PERL} -pi -e 's|("include)|\1/${PORTNAME}|' ${WRKSRC}/hier.c
+ ${REINPLACE_CMD} -E -e 's!(djbfft.a)!lib\1!' {} \;
+ @${REINPLACE_CMD} -E 's|("include)|\1/${PORTNAME}|' ${WRKSRC}/hier.c
do-configure:
@${ECHO_CMD} '${CC} ${CFLAGS} -fPIC' > ${WRKSRC}/conf-cc