Created attachment 192665 [details]
maintainer update graphics/blender to 2.79b
Update graphics/blender to 2.79b
Add Alembic option to include graphics/alembic for import/export options
Modernize cmake options
Add py-numpy as a dependency now that flavours can give us the py35 verion. This is expected to be in place by several addons.
Add USES=compiler:c++14-lang to build using clang50, this fixes the build on 10.4 and is already a dependency through opengl.
This does not build on 10.4 i386:
In file included from /usr/local/include/Alembic/Abc/All.h:56:
/usr/local/include/Alembic/Abc/ITypedArrayProperty.h:126:29: error: use of overloaded operator '!=' is ambiguous (with operand types 'AbcA::CompoundPropertyReaderPtr' (aka 'shared_ptr<Alembic::AbcCoreAbstract::v10::CompoundPropertyReader>') and 'int')
ABCA_ASSERT( parent != NULL,
~~~~~~ ^ ~~~~
5 errors generated.
[2681/2955] /usr/local/bin/clang++50 -DNDEBUG -DWITH_FREESTYLE -DWITH_INTERNATIONAL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -D__MMX__ -D__SSE2__ -D__SSE__ -isystem /usr/local/include -I/wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/freestyle -I/wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/blenkernel -I/wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/blenlib -I/wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/blentranslation -I/wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/imbuf -I/wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/makesdna -I/wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/makesrna -I/wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/python -I/wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/python/intern -I/wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/render/extern/include -I/wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/render/intern/include -I/wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/extern/glew/include -I/wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/intern/guardedalloc -isystem /usr/local/include/python3.5m -Wall -Wno-tautological-compare -Wno-unknown-pragmas -Wno-char-subscripts -Wno-overloaded-virtual -Wno-sign-compare -Wno-invalid-offsetof -O2 -pipe -fstack-protector -fno-strict-aliasing -march=i586 -march=i586 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -msse2 -O2 -pipe -fstack-protector -fno-strict-aliasing -march=i586 -march=i586 -MD -MT source/blender/freestyle/CMakeFiles/bf_freestyle.dir/intern/view_map/ViewMapBuilder.cpp.o -MF source/blender/freestyle/CMakeFiles/bf_freestyle.dir/intern/view_map/ViewMapBuilder.cpp.o.d -o source/blender/freestyle/CMakeFiles/bf_freestyle.dir/intern/view_map/ViewMapBuilder.cpp.o -c /wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Do you plan to add a DOCS option?
FATAL: Makefile: PORTDOCS appears in plist but DOCS is not listed in OPTIONS_DEFINE.
Created attachment 192841 [details]
maintainer update graphics/blender to 2.79b
Always enable WITH_CXX11 as it is now needed to build several options.
Remove PORTDOCS from pkg-plist. This has been in place for several years but there has been no code to alter the install based on a docs option.
Update LICENSE to GPLv3+ as there are several palces containing GPL3 code.
There is a man page and a readme installed along with nine license files, as the license files should always be installed, I don't see any benefit to altering the installed files to remove a readme of about 6k in a project this large.
(In reply to Thomas Zander from comment #1)
Enabling c++11 fixes the alembic build. I didn't see this before as it has been a while since I have tested with various option combinations, by enabling CYCLESOSL the WITH_CXX11 option was always turned on.
A commit references this bug:
Date: Sat Apr 28 12:19:24 UTC 2018
New revision: 468539
Update to upstream version 2.79b
Detailed maintainer log:
- Update graphics/blender to 2.79b
- Add Alembic option to include graphics/alembic for import/export options
- Modernize cmake options
- Add py-numpy as a dependency now that flavours can give us the py35
version. This is expected to be in place by several addons.
- Add USES=compiler:c++14-lang to build using clang50, this fixes the
build on 10.4 and is already a dependency through opengl.
Submitted by: FreeBSD@ShaneWare.Biz (maintainer)