svn commit: r507762 - head/multimedia/ffmpeg
Jan Beich
jbeich at FreeBSD.org
Thu Aug 1 09:13:35 UTC 2019
Author: jbeich
Date: Thu Aug 1 09:13:34 2019
New Revision: 507762
URL: https://svnweb.freebsd.org/changeset/ports/507762
Log:
multimedia/ffmpeg: unbreak FLITE=on with Clang after r507592
-Wl,--as-needed is partially broken in base GNU bfd:
/usr/local/lib/libflite_cmu_us_awb.so: undefined reference to `usenglish_init'
/usr/local/lib/libflite_cmu_us_awb.so: undefined reference to `cmu_lex_init'
/usr/local/lib/libflite_cmu_us_kal.so: undefined reference to `cmu_postlex'
PR: 239567
Reported by: VVD
Modified:
head/multimedia/ffmpeg/Makefile (contents, props changed)
Modified: head/multimedia/ffmpeg/Makefile
==============================================================================
--- head/multimedia/ffmpeg/Makefile Thu Aug 1 09:02:23 2019 (r507761)
+++ head/multimedia/ffmpeg/Makefile Thu Aug 1 09:13:34 2019 (r507762)
@@ -214,6 +214,9 @@ FDK_AAC_IMPLIES= NONFREE
# flite
FLITE_LIB_DEPENDS= libflite.so:audio/flite
FLITE_CONFIGURE_ENABLE= libflite
+.if exists(/usr/bin/ld.lld) && (${/usr/bin/ld:L:tA} != /usr/bin/ld.lld)
+FLITE_LDFLAGS= -fuse-ld=lld
+.endif
# fontconfig
FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig
More information about the svn-ports-all
mailing list