--- acl-2.2.49.ebuild.patch 2010-07-19 00:09:44.000000000 +0300 +++ acl-2.2.49.ebuild 2010-07-19 00:15:14.000000000 +0300 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.49.ebuild,v 1.7 2010/04/02 12:15:58 armin76 Exp $ -inherit eutils toolchain-funcs +inherit eutils multilib toolchain-funcs DESCRIPTION="access control list utilities, libraries and headers" HOMEPAGE="http://savannah.nongnu.org/projects/acl" @@ -19,6 +19,14 @@ DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" +pkg_setup() { + if [[ -L ${ROOT}/$(get_libdir)/libacl.a ]]; then + ebegin "Removing bad symlink to libacl.a from /$(get_libdir)" + rm -f "${ROOT}"/$(get_libdir)/libacl.a + eend $? + fi +} + src_unpack() { unpack ${P}.src.tar.gz cd "${S}"