From owner-dev-commits-ports-main@freebsd.org Sun May 30 23:14:38 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B8BB9639899; Sun, 30 May 2021 23:14:38 +0000 (UTC) (envelope-from git@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 4FtZ4t1hWsz4hMF; Sun, 30 May 2021 23:14:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 22ED72591C; Sun, 30 May 2021 23:14:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14UNEcpk033820; Sun, 30 May 2021 23:14:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14UNEccV033819; Sun, 30 May 2021 23:14:38 GMT (envelope-from git) Date: Sun, 30 May 2021 23:14:38 GMT Message-Id: <202105302314.14UNEccV033819@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 3f191789a4e1 - main - multimedia/vapoursynth-vmaf: unbreak on FreeBSD < 12 after 97ed9c524d49 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3f191789a4e1d08ea015742ef9a9da3f6ac94645 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2021 23:14:38 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f191789a4e1d08ea015742ef9a9da3f6ac94645 commit 3f191789a4e1d08ea015742ef9a9da3f6ac94645 Author: Jan Beich AuthorDate: 2021-05-30 23:04:07 +0000 Commit: Jan Beich CommitDate: 2021-05-30 23:14:32 +0000 multimedia/vapoursynth-vmaf: unbreak on FreeBSD < 12 after 97ed9c524d49 FAILED: libvmaf.so c++ -o libvmaf.so libvmaf.so.p/VMAF_VMAF.cpp.o -flto -flto-jobs=0 -Wl,--as-needed -Wl,--allow-shlib-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libvmaf.so -fstack-protector-strong /usr/local/lib/libvmaf.so -Wl,--end-group /usr/bin/ld: unrecognized option '-plugin' /usr/bin/ld: use the --help option for usage information c++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. *** Error code 1 Reported by: pkg-fallout --- multimedia/vapoursynth-vmaf/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/multimedia/vapoursynth-vmaf/Makefile b/multimedia/vapoursynth-vmaf/Makefile index 6f047a2c6fb5..9be0103afe2c 100644 --- a/multimedia/vapoursynth-vmaf/Makefile +++ b/multimedia/vapoursynth-vmaf/Makefile @@ -21,6 +21,11 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} PORTDATA= lib${PORTNAME}.so PORTDOCS= *.md +.if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld +# --plugin isn't supported by old GNU ld.bfd in base +LDFLAGS+= -fuse-ld=lld +.endif + OPTIONS_DEFINE= DOCS do-install-DOCS-on: