pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2016Q3]: pkgsrc/graphics/blender Pullup ticket #5117 - request...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a0621081e0d4
branches:  pkgsrc-2016Q3
changeset: 408770:a0621081e0d4
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Wed Oct 05 17:20:52 2016 +0000

description:
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.

diffstat:

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

diffs (33 lines):

diff -r 38274b3d168c -r a0621081e0d4 graphics/blender/Makefile
--- a/graphics/blender/Makefile Sat Oct 01 15:56:53 2016 +0000
+++ b/graphics/blender/Makefile Wed Oct 05 17:20:52 2016 +0000
@@ -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_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