diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2016-10-05 17:20:52 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2016-10-05 17:20:52 +0000 |
commit | 278dba34c2f5a8f577b55b2aa73625c764c8138a (patch) | |
tree | 3074128f27947384641c33919c64a3a2fbea9b76 | |
parent | 4bfec26b6b3394ea01896dfdc87894459d958c2a (diff) | |
download | pkgsrc-278dba34c2f5a8f577b55b2aa73625c764c8138a.tar.gz |
Pullup ticket #5117 - requested by joerg
graphics/blender: build fix
Revisions pulled up:
- graphics/blender/Makefile 1.123
---
Module Name: pkgsrc
Committed By: joerg
Date: Sat Oct 1 13:02:31 UTC 2016
Modified Files:
pkgsrc/graphics/blender: Makefile
Log Message:
PLIST requires pyexpat to exist. Add manual overrides to help detection
of Freetype and GLU from X11BASE. Bump revision.
-rw-r--r-- | graphics/blender/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile index 25d831954e4..3445fa51c27 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.122 2016/08/15 19:26:18 ryoon Exp $ +# $NetBSD: Makefile,v 1.122.2.1 2016/10/05 17:20:52 bsiegert Exp $ DISTNAME= blender-2.77a +PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://download.blender.org/source/ @@ -19,10 +20,20 @@ CMAKE_OPTS+= -DCMAKE_MODULE_PATH:PATH=${_CMAKE_DIR} CMAKE_OPTS+= -DCMAKE_SKIP_RPATH:BOOL=TRUE CMAKE_OPTS+= -DCMAKE_INSTALL_LIBDIR:PATH=lib CMAKE_OPTS+= -DCMAKE_INSTALL_MANDIR:PATH=man +CMAKE_OPTS+= -DFREETYPE_INCLUDE_DIRS:PATH=${BUILDLINK_PREFIX.freetype2}/include/freetype2 +CMAKE_OPTS+= -DFREETYPE_LIBRARY:STRING=freetype +CMAKE_OPTS+= -D_OPENGL_LIB_PATH:PATH=${BUILDLINK_PREFIX.MesaLib}/lib +CMAKE_OPTS+= -D_OPENGL_INCLUDE_PATH:PATH=${BUILDLINK_PREFIX.MesaLib}/include +CMAKE_OPTS+= -DOPENGL_glu_LIBRARY:STRING=GLU + +CXXFLAGS+= -std=c++11 +CMAKE_OPTS+= -DCMAKE_CXX_FLAGS:STRING=${CXXFLAGS:Q} PYTHON_VERSIONS_INCOMPATIBLE= 27 GCC_REQD+= 4.7 +DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat + REPLACE_PYTHON= release/bin/blender-thumbnailer.py .include "options.mk" |