From nobody Sun Apr 23 09:09:57 2023 X-Original-To: multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q42XQ6gPKz475wc for ; Sun, 23 Apr 2023 09:09:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q42XQ3z8Pz3r6k for ; Sun, 23 Apr 2023 09:09:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682240998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SwuUD9+x1v+OT7vYPhj1ZaOJxIBuVp1M2+JQacU1pI0=; b=qJ6Imh4pSkofe64Oxjo7qTPryiGi6ig0zzo47IVCq/kMYvF/vZqzfp2/oHwihfoe3uSnwH DgA6/X+CBoDy780AIz3PIg1jd5T/NtbE5D0gRPXdw4+vACP4XxZhMCCPRf8pP/wg19eAwT 4R2O1QenHZ72BBTslnCKMSASw0dUeQWlKUCjdS5dpd9kqmeqU33TsQkglz9xVbEqlyH46r jNo9e56QyVQ1l8e3jNUe5FNoo3C0yjrvx5ZinBkjbrCHjSRjtdiSaoc5iTm4gwdPPZMToH 1bItWQfbUdVs6Aefup9CvbksPeXiYFrGuFeh71sekPR3KJKwNk+QsAXS3FJ5JQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682240998; a=rsa-sha256; cv=none; b=ioZg8GRQJMUFktDqkxb50Enwu05pRSSqerP8TQj3r5m4fIeQQYJPjSG79IvrgfeD3d0d6p ASE1x1kOXZZVNforY/+7/5VnAa138JvUqmIJDdEoKkZFGwfpMtMiOStUdBCxzWvltu0Zcb A0Ajck++MNHLq+78cigiK6H94hUfQipKDVjv7WgCRx4ypfNMTMl+yUHDK2p2zY4x08TM38 1EDzMdzTNXd+9ZtdPQwwfJadPtvwJuX2v7Pfn3ikwT/46h4a+MPMiy0HhHhDD8RHv6cKpj 53LP09w2GfTxBsRz6fcuBdDv4AeKFSfzLwi0Hh/K4gukurRTvLtpSYhI92DC8A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q42XQ2GGJzd6m for ; Sun, 23 Apr 2023 09:09:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 33N99we9053855 for ; Sun, 23 Apr 2023 09:09:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33N99wxk053854 for multimedia@FreeBSD.org; Sun, 23 Apr 2023 09:09:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 261302] multimedia/ffmpeg: update to 6.0 Date: Sun, 23 Apr 2023 09:09:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ exp-run? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261302 --- Comment #73 from Jan Beich --- (In reply to Daniel Engberg from comment #72) > it doesn't necessarily mean that it'll pick up the legacy version first override.mk was designed primarily for Meson which standardized pkg-config = but should also work for autotools where pkg-config is common. Unfortunately, C= Make prefers its own module system instead of pkg-config with standard modules b= eing those shipped with CMake itself. To support USES=3Dcmake in override.mk som= eone needs to catalogue third-party CMake modules used to find FFmpeg and figure= out the common workaround. $ pkg info -l cmake-core | fgrep .cmake | xargs fgrep -Hi avcodec || echo E= xit $? Exit 1 Note, USES=3Dlocalbase in override.mk reorders -I/usr/local/include if adde= d by another dependency to the end of the search order but it doesn't affect -L/usr/local/lib as there's no equivalent for -I vs. -isystem i.e., to enfo= rce -L/path -lfoo one is supposed to pass /path/libfoo.so instead.=20 > Perhaps temporarily "hide" one version somehow? Depends on what is used to find ffmpeg. If pkg-config then PKG_CONFIG_LIBDIR can override the primary location for *.pc files. However, doing so will br= eak search for other dependencies via pkg-config and not necessary because PKG_CONFIG_PATH *prepends* the location e.g., $ pkg install ffmpeg ffmpeg4 $ pkg-config --path libavcodec /usr/local/libdata/pkgconfig/libavcodec.pc $ PKG_CONFIG_PATH=3D/usr/local/ffmpeg4/libdata/pkgconfig pkg-config --path libavcodec /usr/local/ffmpeg4/libdata/pkgconfig/libavcodec.pc --=20 You are receiving this mail because: You are on the CC list for the bug.=