Bug 249184 - Build fix for graphics/blender when CYCLESOSL is off
Summary: Build fix for graphics/blender when CYCLESOSL is off
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
Depends on:
Reported: 2020-09-08 03:48 UTC by Shane
Modified: 2020-09-08 17:01 UTC (History)
1 user (show)

See Also:

maintainer update for graphics/blender (1.38 KB, patch)
2020-09-08 03:48 UTC, Shane
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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

  graphics/blender: Fix build when CYCLESOSL is off

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