From 78b20091daf855fe8ca276876ee88b459991b237 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Sun, 17 Apr 2005 23:07:53 +0000 Subject: [PATCH] o Replace dependency on USE_PERL5_BUILD with USE_REINPLACE. Perl was used for post-patch regexps o Bump PORTREVISION due to dependency change --- math/djbfft/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/math/djbfft/Makefile b/math/djbfft/Makefile index 90d40d870e7e..089771b5e446 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