diff options
author | joerg <joerg@pkgsrc.org> | 2016-10-01 13:02:31 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2016-10-01 13:02:31 +0000 |
commit | 85384c33532db2ecbb5d2cc2e5f74ae476fde840 (patch) | |
tree | 05babe3f19e6036138b48ce3d0b9fe2fd411fa6c /graphics | |
parent | 1cf167d28974c33547a02e3035e44befcb1abe1b (diff) | |
download | pkgsrc-85384c33532db2ecbb5d2cc2e5f74ae476fde840.tar.gz |
PLIST requires pyexpat to exist. Add manual overrides to help detection
of Freetype and GLU from X11BASE. Bump revision.
Diffstat (limited to 'graphics')
-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..07c687a5e1e 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.123 2016/10/01 13:02:31 joerg 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" |