Diff asterisk-13.36.0 with a asterisk-16.12.0-r1

/usr/portage/net-misc/asterisk/asterisk-16.12.0-r1.ebuild 2020-09-12 05:10:00.000000000 +0300
18 18
	voicemail_storage_odbc
19 19
	voicemail_storage_imap
20 20
"
21
IUSE="${IUSE_VOICEMAIL_STORAGE} alsa bluetooth calendar +caps cluster curl dahdi debug doc freetds gtalk http iconv ilbc ldap libressl lua mysql newt odbc oss pjproject portaudio postgres radius selinux snmp span speex srtp +ssl static statsd syslog vorbis xmpp"
21
IUSE="${IUSE_VOICEMAIL_STORAGE} alsa bluetooth calendar +caps cluster curl dahdi debug doc freetds gtalk http iconv ilbc ldap libressl lua mysql newt odbc oss pjproject portaudio postgres radius selinux snmp span speex srtp +ssl static statsd syslog unbound vorbis xmpp"
22 22
IUSE_EXPAND="VOICEMAIL_STORAGE"
23 23
REQUIRED_USE="gtalk? ( xmpp )
24 24
	^^ ( ${IUSE_VOICEMAIL_STORAGE/+/} )
......
33 33
	acct-group/asterisk
34 34
	dev-db/sqlite:3
35 35
	dev-libs/popt
36
	dev-libs/jansson
36
	>=dev-libs/jansson-2.11
37 37
	dev-libs/libedit
38 38
	dev-libs/libxml2:2
39 39
	dev-libs/libxslt
40
	sys-apps/util-linux
40 41
	sys-libs/ncurses:0=
41 42
	sys-libs/zlib
42 43
	alsa? ( media-libs/alsa-lib )
......
63 64
	mysql? ( dev-db/mysql-connector-c:= )
64 65
	newt? ( dev-libs/newt )
65 66
	odbc? ( dev-db/unixODBC )
66
	pjproject? ( net-libs/pjproject )
67
	pjproject? ( >=net-libs/pjproject-2.9 )
67 68
	portaudio? ( media-libs/portaudio )
68 69
	postgres? ( dev-db/postgresql:* )
69 70
	radius? ( net-dialup/freeradius-client )
......
79 80
		!libressl? ( dev-libs/openssl:0= )
80 81
		libressl? ( dev-libs/libressl:0= )
81 82
	)
83
	unbound? ( net-dns/unbound )
82 84
	vorbis? (
83 85
		media-libs/libogg
84 86
		media-libs/libvorbis
......
122 124
		--with-popt \
123 125
		--with-z \
124 126
		--with-libedit \
127
		--without-jansson-bundled \
128
		--without-pjproject-bundled \
125 129
		$(use_with caps cap) \
126 130
		$(use_with http gmime) \
127 131
		$(use_with newt) \
128 132
		$(use_with pjproject) \
129 133
		$(use_with portaudio) \
130
		$(use_with ssl)
134
		$(use_with ssl) \
135
		$(use_with unbound)
131 136

  
132 137
	_menuselect() {
133 138
		menuselect/menuselect "$@" || die "menuselect $* failed."
134 139
	}
135 140

  
136 141
	_use_select() {
137
		local state=$(usex "$1" enable disable)
142
		local state=$(use "$1" && echo enable || echo disable)
138 143
		shift # remove use from parameters
139 144

  
140 145
		while [[ -n $1 ]]; do
......
152 157
	sed -i 's/NATIVE_ARCH=/NATIVE_ARCH=0/' build_tools/menuselect-deps || die "Unable to squelch noisy build system"
153 158

  
154 159
	# Compile menuselect binary for optional components
155
	emake NOISE_BUILD=yes menuselect.makeopts
160
	emake NOISY_BUILD=yes menuselect.makeopts
156 161

  
157 162
	# Disable BUILD_NATIVE (bug #667498)
158 163
	_menuselect --disable build_native menuselect.makeopts
......
219 224

  
220 225
	if use debug; then
221 226
		for o in DONT_OPTIMIZE DEBUG_THREADS BETTER_BACKTRACES; do
222
			_menuselect --enable $o menuselect.makeopts
227
			_menuselect --enable "${o}" menuselect.makeopts
223 228
		done
224 229
	fi
225 230
}
Thank you!