pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/blender explicitely disable openal if the opt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a203e07d016f
branches:  trunk
changeset: 575197:a203e07d016f
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed May 05 18:21:52 2010 +0000

description:
explicitely disable openal if the option is not chosen, otherwise
it will be picked up anyway if present
(seems that some autoconf->cmake conversions are missing)

diffstat:

 graphics/blender/options.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 202c98cb5ee7 -r a203e07d016f graphics/blender/options.mk
--- a/graphics/blender/options.mk       Wed May 05 18:06:08 2010 +0000
+++ b/graphics/blender/options.mk       Wed May 05 18:21:52 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2005/12/05 23:55:07 rillig Exp $
+# $NetBSD: options.mk,v 1.4 2010/05/05 18:21:52 drochner Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.blender
 PKG_SUPPORTED_OPTIONS=
@@ -25,6 +25,8 @@
 .if !empty(PKG_OPTIONS:Mopenal)
 CONFIGURE_ARGS+=       --enable-openal
 .include "../../audio/openal/buildlink3.mk"
+.else
+CMAKE_ARGS+=   -D WITH_OPENAL:BOOL=OFF
 .endif
 
 .if !empty(PKG_OPTIONS:Mvorbis)



Home | Main Index | Thread Index | Old Index