mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix build in the presence of system-wide installed ffmpeg
PR: 209064 Reported by: admin@vladiom.com.ua Submitted by: scf
This commit is contained in:
parent
48c0b89226
commit
3d99fb32a0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414637
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,6 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
||||||
libsamplerate.so:audio/libsamplerate \
|
libsamplerate.so:audio/libsamplerate \
|
||||||
libx264.so:multimedia/libx264 \
|
libx264.so:multimedia/libx264 \
|
||||||
libmp3lame.so:audio/lame
|
libmp3lame.so:audio/lame
|
||||||
CONFLICTS_BUILD= x265
|
|
||||||
|
|
||||||
.if !defined(PACKAGE_BUILDING)
|
.if !defined(PACKAGE_BUILDING)
|
||||||
# DVDCSS version hardcoded in contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/src/dvd_input.c (dlopen'ed)
|
# DVDCSS version hardcoded in contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/src/dvd_input.c (dlopen'ed)
|
||||||
|
@ -67,6 +66,9 @@ MAKE_JOBS_UNSAFE= yes
|
||||||
|
|
||||||
NOPRECIOUSMAKEVARS= yes # for ffmpeg and x264
|
NOPRECIOUSMAKEVARS= yes # for ffmpeg and x264
|
||||||
|
|
||||||
|
# Enforce linking to bundled libraries instead of system libraries
|
||||||
|
LDFLAGS+= -L${BUILD_WRKSRC}/contrib/lib
|
||||||
|
|
||||||
# Enforce linking to the system c++ standard lib
|
# Enforce linking to the system c++ standard lib
|
||||||
LDFLAGS+= -l${COMPILER_FEATURES:Mlib*c++:S/lib//}
|
LDFLAGS+= -l${COMPILER_FEATURES:Mlib*c++:S/lib//}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue