From 556a54a61d39d9ca97384f1b0937067461110ac3 Mon Sep 17 00:00:00 2001 From: trevor Date: Sat, 4 Oct 2003 14:24:00 +0000 Subject: Avoid Perl. PR: 47651 Submitted by: Simon Schubert of ath.cx --- audio/sphinx/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'audio/sphinx') diff --git a/audio/sphinx/Makefile b/audio/sphinx/Makefile index 1c57c36..5af3cb6 100644 --- a/audio/sphinx/Makefile +++ b/audio/sphinx/Makefile @@ -15,6 +15,7 @@ DISTNAME= sphinx2-0.4 MAINTAINER= trevor@FreeBSD.org COMMENT= Speech recognition system +DEST= ${WRKSRC}/src/libsphinx2/ USE_LIBTOOL= yes INSTALLS_SHLIB= yes PKGMESSAGE= ${WRKDIR}/pkg-message @@ -25,9 +26,11 @@ IGNORE= "audio read error" # contains i386 sound code ONLY_FOR_ARCHS= i386 -post-patch: - ${FIND} ${WRKSRC} -type f -exec ${PERL} -pi -e \ - "s:::g" {} \; +do-patch: +.for ii in CM_funcs.c hash.c linklist.c list.c salloc.c + ${MV} ${DEST}${ii} ${DEST}${ii}.orig + ${SED} -e "s:::g" < ${DEST}${ii}.orig > ${DEST}${ii} +.endfor post-build: ${ECHO_CMD} "*** WARNING ***" > ${PKGMESSAGE} -- cgit v1.1