mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Fix build of multimedia/avidemux2 and multimedia/avidemux2-plugins
in a world WITH_CLANG_IS_CC and WITHOUT_GCC. PR: ports/180087 Submitted by: r4721@tormail.org
This commit is contained in:
parent
7ff95df359
commit
c46d078c24
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322409
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user