Handbrake - old problem

Code:
===>  handbrake-0.10.1_3 conflicts with installed package(s):
  x265-1.6

  They will not build together.
  Please remove them first with pkg delete.
*** Error code 1

Can't deinstall multimedia/x265 will deinstall too many other ports.
 
Since the port is unmaintained I suppose you'll just have to deal with that unless you or someone else is kind enough to create and submit a patch against the port to work around this. Something similar was done I think for Nvidia's GL libraries in the x11/nvidia-driver port.
 
Did a simple trick. Put in the Makefile
Code:
cd ../x265 && make deinstall clean && cd -
and nearly the end
Code:
cd ../x265 && make install clean && cd -

This would work, but I find no way to patch the port Makefile. I had a patch-file but it stops in the line
Code:
CONFLICTS_BUILD=  x265
. The patch does not work. It never find out how to patch a port Makefile - it a path problem I think, but I don't know. (It seems you can patch every file in the port directory, except the Makefile ??)
 
Patches in the files subdirectory are not meant for patching the port files. They are only for patching the extracted source code in the work directory.
 
I have make a bsd.handbrake.mk. Included this with /etc/make.conf and unset CONFLICTS_BUILD for this port. I know this is not the right way. But it's simplier as to change much things in the source code.
 
Back
Top