Bug 39313

Summary: Maintainer Update: audio/cmt
Product: Ports & Packages Reporter: Tilman Linneweh <tilman>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff none

Description Tilman Linneweh 2002-06-14 23:50:01 UTC
	The patch in the CVS didn't apply.
	Introduced REINPLACE_CMD.

Fix: cvs diff: Diffing cmt
PORTNAME=      cmt
 PORTVERSION=   1.12
+PORTREVSION=   1
 CATEGORIES=    audio
 MASTER_SITES=  http://www.ladspa.org/download/
 DISTNAME=      ${PORTNAME}_src
@@ -20,21 +21,9 @@
 MAKEFILE=      makefile
 ALL_TARGET=    targets

-post-patch:
-       @${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} ${PERL} -pi -e \
-               's|<malloc.h>|<stdlib.h>|g'
-
-.for i in ${WRKSRC}/analogue.cpp \
-       ${WRKSRC}/canyondelay.cpp \
-       ${WRKSRC}/lofi.cpp \
-       ${WRKSRC}/phasemod.cpp \
-       ${WRKSRC}/syndrum.cpp \
-       ${WRKSRC}/vcf303.cpp
-       ${MV} ${WRKDIR}/$i ${WRKDIR}/$i.sed
-       ${SED} -e "s:malloc.h:stdlib.h:g" \
-               ${WRKDIR}/$i.sed >${WRKDIR}/$i
-       ${RM} ${WRKDIR}/$i.sed
-.endfor
+pre-patch:
+       @find ${WRKSRC} -name '*.cpp' | xargs \
+       ${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"

 do-install:
        @${INSTALL_DATA} ${WRKSRC}/../plugins/cmt.so ${LOCALBASE}/lib/ladspa/
cvs diff: Diffing cmt/files
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-06-16 19:17:46 UTC
State Changed
From-To: open->closed

committed, thanks