aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-03-16 20:21:57 +0800
committerflz <flz@FreeBSD.org>2005-03-16 20:21:57 +0800
commit0b8df2d230ca43b27736f9de4c157bd29c0d2183 (patch)
tree3f513f5edf25d21e62081d839e4807ad7b76a00a
parent58fb006755ca513895261605ffd811025bb253aa (diff)
downloadfreebsd-ports-gnome-0b8df2d230ca43b27736f9de4c157bd29c0d2183.tar.gz
freebsd-ports-gnome-0b8df2d230ca43b27736f9de4c157bd29c0d2183.tar.zst
freebsd-ports-gnome-0b8df2d230ca43b27736f9de4c157bd29c0d2183.zip
- Strip ^M ni a file so that patch applies correctly.
PR: ports/78909 Submitted by: Sven Berkvens-Matthijsse <sven@berkvens.net>
-rw-r--r--multimedia/avidemux2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/multimedia/avidemux2/Makefile b/multimedia/avidemux2/Makefile
index 212dc2ece488..d798c36c845f 100644
--- a/multimedia/avidemux2/Makefile
+++ b/multimedia/avidemux2/Makefile
@@ -104,6 +104,10 @@ LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac
LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad
.endif
+post-extract:
+ @${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
+ ${WRKSRC}/avidemux/ADM_mplex/ADM_mplexout.cpp
+
post-patch:
@${TOUCH} ${WRKSRC}/*
@${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure ${WRKSRC}/*/*/Makefile