Bug 39313 - Maintainer Update: audio/cmt
Summary: Maintainer Update: audio/cmt
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-14 23:50 UTC by Tilman Linneweh
Modified: 2002-06-16 19:17 UTC (History)
0 users

See Also:


Attachments
file.diff (309 bytes, patch)
2002-06-14 23:50 UTC, Tilman Linneweh
no flags Details | Diff
file.diff (2.81 KB, patch)
2002-06-14 23:50 UTC, Tilman Linneweh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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