pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/blender PLIST requires pyexpat to exist. Add ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd23e52dbd79
branches:  trunk
changeset: 353252:dd23e52dbd79
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Oct 01 13:02:31 2016 +0000

description:
PLIST requires pyexpat to exist. Add manual overrides to help detection
of Freetype and GLU from X11BASE. Bump revision.

diffstat:

 graphics/blender/Makefile |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 0d0819e562b4 -r dd23e52dbd79 graphics/blender/Makefile
--- a/graphics/blender/Makefile Sat Oct 01 13:01:58 2016 +0000
+++ b/graphics/blender/Makefile Sat Oct 01 13:02:31 2016 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index