4376895e91
pkgsrc doesn't support PREFIX with spaces or other special characters. Therefore it is not necessary to add the :Q modifier to this variable and several others.
37 lines
947 B
Makefile
37 lines
947 B
Makefile
# $NetBSD: options.mk,v 1.6 2018/01/14 14:58:38 rillig Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.blender
|
|
PKG_SUPPORTED_OPTIONS=
|
|
# disabled these options; they ought to be re-instantiated one day
|
|
.if 0
|
|
PKG_SUPPORTED_OPTIONS+= blender-exppython ogg openal vorbis
|
|
.endif
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mexppython)
|
|
CONFIGURE_ARGS+= --enable-exppython
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-exppython
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mogg)
|
|
CONFIGURE_ARGS+= --with-ogg=${PREFIX}
|
|
.include "../../multimedia/libogg/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-ogg --disable-oggtest
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mopenal)
|
|
CONFIGURE_ARGS+= --enable-openal
|
|
.include "../../audio/openal/buildlink3.mk"
|
|
.else
|
|
CMAKE_OPTS+= -DWITH_OPENAL:BOOL=OFF
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mvorbis)
|
|
CONFIGURE_ARGS+= --with-vorbis=${PREFIX}
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-vorbis --disable-vorbistest
|
|
.endif
|