Date: Sun, 30 May 2021 23:14:38 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 3f191789a4e1 - main - multimedia/vapoursynth-vmaf: unbreak on FreeBSD < 12 after 97ed9c524d49 Message-ID: <202105302314.14UNEccV033819@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f191789a4e1d08ea015742ef9a9da3f6ac94645 commit 3f191789a4e1d08ea015742ef9a9da3f6ac94645 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-05-30 23:04:07 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105302314.14UNEccV033819>