# ChangeLog for dev-libs/pwlib
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.96 2006/06/06 18:08:21 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.97 2006/06/06 18:50:13 genstef Exp $
+
+ 06 Jun 2006; Stefan Schweizer <genstef@gentoo.org> pwlib-1.10.1.ebuild:
+ Make USE="-alsa oss" work, thanks to Christophe PEREZ <chris@novazur.fr> in
+ bug 127677
*pwlib-1.10.1 (06 Jun 2006)
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.10.1.ebuild,v 1.1 2006/06/06 18:08:21 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.10.1.ebuild,v 1.2 2006/06/06 18:50:13 genstef Exp $
inherit eutils flag-o-matic multilib
}
src_compile() {
+ local myconf=""
# may cause ICE (bug #70638)
filter-flags -fstack-protector
+ # disable-alsa breaks oss, see bug 127677
+ use alsa && myconf="--enable-alsa"
econf \
--enable-plugins \
$(use_enable ieee1394 dc) \
$(use_enable ieee1394 avc) \
$(use_enable oss) \
- $(use_enable alsa) \
$(use_enable ipv6) \
$(use_enable sdl) \
$(use_enable ssl openssl) \
$(use_enable ldap openldap) \
$(use_enable sasl) \
$(use_enable xml expat) \
+ ${myconf} \
|| die "configure failed"
# Horrible hack to strip out -L/usr/lib to allow upgrades