[Bug 220785] audio/jack: Add and enable COOKEDMODE option, Use GitHub

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 17 19:57:37 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220785

--- Comment #11 from Jan Beich <jbeich at FreeBSD.org> ---
Comment on attachment 184447
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184447
patch

> +SUB_FILES=	pkg-message

Why? The file doesn't seem to contain any %% macros such e.g., %%PREFIX%%.

> +DYNSIMD_CONFIGURE_ENABLE=dynsimd
> 
>  CFLAGS+=	-I${BDB_INCLUDE_DIR}
> +COOKEDMODE_CFLAGS+=	-DOPTION_COOKEDMODE=1
>  LIBS+=	-L${BDB_LIB_DIR}
>  INSTALL_TARGET=	install-strip

- Rename DYNSIMD to RTCPU which already has default description vi
Mk/bsd.options.desc.mk
- Don't mix option helpers and generic definitions/flags. It's confusing and
breaks existing style in the file. For one, see how other _CONFIGURE_ENABLE are
grouped.
- Maybe replace += with plain = as _CFLAGS helper already appends (not
overrides) the value

> +OPTIONS_DEFINE=		ALSA DOXYGEN READLINE SNDIO COOKEDMODE
> +OPTIONS_DEFINE_i386=	ALSA DOXYGEN READLINE SNDIO COOKEDMODE DYNSIMD
> +OPTIONS_DEFINE_amd64=	ALSA DOXYGEN READLINE SNDIO COOKEDMODE DYNSIMD
> +OPTIONS_DEFAULT=	READLINE COOKEDMODE
> +OPTIONS_DEFAULT_i386=	READLINE COOKEDMODE DYNSIMD
> +OPTIONS_DEFAULT_amd64=	READLINE COOKEDMODE DYNSIMD

Can you deduplicate OPTIONS_*_${ARCH} ? Mk/bsd.options.mk already appends (not
overrides) arch-specific options.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-multimedia mailing list