pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2016Q3] pkgsrc/graphics/blender



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Wed Oct  5 17:20:52 UTC 2016

Modified Files:
        pkgsrc/graphics/blender [pkgsrc-2016Q3]: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.122.2.1 pkgsrc/graphics/blender/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/blender/Makefile
diff -u pkgsrc/graphics/blender/Makefile:1.122 pkgsrc/graphics/blender/Makefile:1.122.2.1
--- pkgsrc/graphics/blender/Makefile:1.122      Mon Aug 15 19:26:18 2016
+++ pkgsrc/graphics/blender/Makefile    Wed Oct  5 17:20:52 2016
@@ -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_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