Lines 197-202
Link Here
|
197 |
# |
197 |
# |
198 |
epatch "${FILESDIR}"/1.4/${PN}-1.4.19-configure-gentoo.diff |
198 |
epatch "${FILESDIR}"/1.4/${PN}-1.4.19-configure-gentoo.diff |
199 |
|
199 |
|
|
|
200 |
# http://bugs.digium.com/view.php?id=13488 |
201 |
use misdn && epatch "${FILESDIR}"/1.4/${PN}-1.4.23.1-misdn.diff |
202 |
|
200 |
# add custom device state function (func_devstate) |
203 |
# add custom device state function (func_devstate) |
201 |
# http://asterisk.org/node/48360 |
204 |
# http://asterisk.org/node/48360 |
202 |
# http://svncommunity.digium.com/svn/russell/func_devstate-1.4/README.txt |
205 |
# http://svncommunity.digium.com/svn/russell/func_devstate-1.4/README.txt |
Lines 234-239
Link Here
|
234 |
# |
237 |
# |
235 |
# start with configure |
238 |
# start with configure |
236 |
# |
239 |
# |
|
|
240 |
local dahdiorzap |
241 |
use dahdi && dahdiorzap="$(use_with dahdi) $(use_with dahdi pri) $(use_with dahdi tonezone)" |
242 |
use zaptel && dahdiorzap="$(use_with zaptel) $(use_with zaptel pri) $(use_with zaptel tonezone)" |
237 |
econf \ |
243 |
econf \ |
238 |
--libdir="/usr/$(get_libdir)" \ |
244 |
--libdir="/usr/$(get_libdir)" \ |
239 |
--localstatedir="/var" \ |
245 |
--localstatedir="/var" \ |
Lines 261-272
Link Here
|
261 |
$(use_with sqlite) \ |
267 |
$(use_with sqlite) \ |
262 |
$(use_with vorbis) \ |
268 |
$(use_with vorbis) \ |
263 |
$(use_with vorbis ogg) \ |
269 |
$(use_with vorbis ogg) \ |
264 |
$(use_with zaptel) \ |
270 |
${dahdiorzap} \ |
265 |
$(use_with zaptel pri) \ |
|
|
266 |
$(use_with zaptel tonezone) \ |
267 |
$(use_with dahdi) \ |
268 |
$(use_with dahdi pri) \ |
269 |
$(use_with dahdi tonezone) \ |
270 |
$(use_with freetds tds) \ |
271 |
$(use_with freetds tds) \ |
271 |
$(use_with postgres) || die "econf failed" |
272 |
$(use_with postgres) || die "econf failed" |
272 |
|
273 |
|