Bug 259485

Summary: Cannot build www/chromium: fails on ffmpeg with CODECS option turned off
Product: Ports & Packages Reporter: ml
Component: Individual Port(s)Assignee: freebsd-chromium (Nobody) <chromium>
Status: New ---    
Severity: Affects Only Me CC: gnikl
Priority: --- Flags: bugzilla: maintainer-feedback? (chromium)
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
Full build log none

Description ml 2021-10-27 15:26:20 UTC
Created attachment 229072 [details]
Full build log

I'm building Chromium in poudriere on a 12.2/amd64 system with 12.2/amd64 as target and I'm using 2021Q4 port tree.
Build fails since the upgrade to 94.0.4606.81.
I'm attaching the build log.
Comment 1 ml 2021-10-29 06:32:38 UTC
I found out that turning off CODECS options is what causes this.
Comment 2 gnikl 2021-10-29 20:37:29 UTC
Turning the CODECS option off changes the branding and then the ffmpeg config is missing.

The following patch makes the config for the Chromium branding available:

-- cut --
--- Makefile~	2021-10-28 22:13:09.000000000 +0200
+++ Makefile	2021-10-28 22:13:50.719258000 +0200
@@ -271,6 +271,9 @@ pre-configure:
 	${CP} -R \
 		${WRKSRC}/third_party/ffmpeg/chromium/config/Chrome/linux/ \
+	${CP} -R \
+		${WRKSRC}/third_party/ffmpeg/chromium/config/Chromium/linux/ \
+		${WRKSRC}/third_party/ffmpeg/chromium/config/Chromium/freebsd
 	# GN generator bootstrapping and generating ninja files
-- cut --