Bug 249184

Summary: Build fix for graphics/blender when CYCLESOSL is off
Product: Ports & Packages Reporter: Shane <FreeBSD>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Only Me CC: lwhsu
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
maintainer update for graphics/blender none

Description Shane 2020-09-08 03:48:58 UTC
Created attachment 217813 [details]
maintainer update for graphics/blender

Fix build for blender 2.90.0 when using new openimageio version
Add pugixml as a LIB_DEPENDS for the CYCLES option.
Add a patch to look for py3.8

The new version of openimageio moves its pugixml files which prevents blender from finding them, so add the pugixml port to LIB_DEPENDS rather than adjust for oiio installed files.
The recent update for blender added USES=python:3.8 but its build files only look for 3.7

When CYCLESOSL is enabled, opanshadinglanguage brings in pugixml and llvm brings in py3.7 so the build works. As this is off by default, the normal build should fail without pugixml or python3.8.
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-09-08 17:01:50 UTC
A commit references this bug:

Author: lwhsu
Date: Tue Sep  8 17:01:19 UTC 2020
New revision: 547993
URL: https://svnweb.freebsd.org/changeset/ports/547993

Log:
  graphics/blender: Fix build when CYCLESOSL is off

  PR:		249184
  Submitted by:	Shane <FreeBSD@ShaneWare.Biz> (maintainer)

Changes:
  head/graphics/blender/Makefile
  head/graphics/blender/files/patch-build_files_cmake_Modules_FindPythonLibsUnix.cmake