[Bug 241928] multimedia/handbrake: fix build on GCC architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 18 03:59:10 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241928

--- Comment #6 from Yuichiro NAITO <naito.yuichiro at gmail.com> ---
(In reply to Piotr Kubaj from comment #5)

> Your make/variant/freebsd.defs patch is ok, but note that powerpc64 soon switches on head to clang as well. Do you accept the attached patch?

Thanks for the information.
I've changed my mind to check if clang is installed in base.

Could you please update your patch to following?

> LDFLAGS += $(if $(findstring gcc, $(GCC.gcc)), $(if $(shell /usr/bin/clang -dumpversion 2> /dev/null), $(GCC.LDFLAGS), ), )

I approve your patch with this fix and confirmed working on amd64 and i386.

And it's for my interest.
May I ask you the reason why you want to run HandBrake on powerpc64?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list