diff options
author | Juergen Lock <nox@FreeBSD.org> | 2013-07-06 19:30:04 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2013-07-06 19:30:04 +0000 |
commit | c46d078c2412065b7e417e87bcbfcf7cc31d1521 (patch) | |
tree | 7ffff171b6737ad242b93841df401084d04b5333 /multimedia | |
parent | 7ff95df359579db0bb42fd89ec01633f857f1bb2 (diff) | |
download | ports-c46d078c2412065b7e417e87bcbfcf7cc31d1521.tar.gz ports-c46d078c2412065b7e417e87bcbfcf7cc31d1521.zip |
Notes
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/avidemux2/Makefile.common | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/avidemux2/Makefile.common b/multimedia/avidemux2/Makefile.common index 014bec982cd5..c6433187a9d1 100644 --- a/multimedia/avidemux2/Makefile.common +++ b/multimedia/avidemux2/Makefile.common @@ -27,6 +27,7 @@ WANT_SDL= yes USES= cmake:outsource pkgconfig iconv CMAKE_USE_PTHREAD=yes CMAKE_ARGS+= -DTHREADS_HAVE_PTHREAD_ARG:STRING="${PTHREAD_LIBS}" +CFLAGS+= -Wno-return-type MAKE_JOBS_UNSAFE= yes BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils @@ -223,6 +224,8 @@ post-extract: post-patch: @${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/*/*/Makefile + @${REINPLACE_CMD} '/--enable-shared/s,,& --cc=${CC},' ${WRKSRC}/cmake/admFFmpegBuild.cmake + @${REINPLACE_CMD} '/sub $$1/s,sub,subl,' ${WRKSRC}/plugins/ADM_videoFilters/FluxSmooth/ADM_vidFlux.cpp @${CP} ${FILESDIR}/execinfo.cpp ${WRKSRC}/cmake_compile_check/ @${CP} ${FILESDIR}/*.patch ${WRKSRC}/cmake/patches/ @${MKDIR} ${CONFIGURE_WRKSRC}/config |