summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-05-05 18:21:52 +0000
committerdrochner <drochner@pkgsrc.org>2010-05-05 18:21:52 +0000
commitfa0b67a6dc7280243828a8f71b42b3dee2a697df (patch)
tree2ba2261a48c7574ff7253676b59291b40f7f38f9 /graphics
parent26a5932b66857c6e1fd861e8efe19e494aca9c10 (diff)
downloadpkgsrc-fa0b67a6dc7280243828a8f71b42b3dee2a697df.tar.gz
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 (limited to 'graphics')
-rw-r--r--graphics/blender/options.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/blender/options.mk b/graphics/blender/options.mk
index eb627e2cbc9..a05a4dd8e35 100644
--- a/graphics/blender/options.mk
+++ b/graphics/blender/options.mk
@@ -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 @@ CONFIGURE_ARGS+= --without-ogg --disable-oggtest
.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)