aa67e11089
either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
33 lines
846 B
Makefile
33 lines
846 B
Makefile
# $NetBSD: options.mk,v 1.6 2014/01/25 10:30:16 wiz Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gtk-vnc
|
|
PKG_SUPPORTED_OPTIONS= python vnc-sasl pulseaudio
|
|
PKG_SUGGESTED_OPTIONS= python vnc-sasl
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS= python
|
|
.if !empty(PKG_OPTIONS:Mpython)
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-gtk2
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../x11/py-gtk2/buildlink3.mk"
|
|
PLIST.python= yes
|
|
CONFIGURE_ARGS+= --with-python
|
|
.else
|
|
CONFIGURE_ARGS+= --without-python
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mvnc-sasl)
|
|
.include "../../security/cyrus-sasl/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-sasl
|
|
.endif
|
|
|
|
PLIST_VARS+= pulseaudio
|
|
.if !empty(PKG_OPTIONS:Mpulseaudio)
|
|
.include "../../audio/pulseaudio/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-pulseaudio
|
|
PLIST.pulseaudio= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --without-pulseaudio
|
|
.endif
|