--- /var/repositories/gentoo/net-misc/aiccu/aiccu-2007.01.15.ebuild 2008-06-29 21:39:41.000000000 +0200 +++ /var/repositories/cross/net-misc/aiccu/aiccu-2007.01.15.ebuild 2008-06-29 22:00:38.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/aiccu/aiccu-2007.01.15.ebuild,v 1.6 2008/05/12 18:23:10 rbu Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="AICCU Client to configure an IPv6 tunnel to SixXS" HOMEPAGE="http://www.sixxs.net/tools/aiccu" @@ -21,6 +21,9 @@ cd "${S}" epatch "${FILESDIR}/${P}-as-needed.patch" + [[ ${CHOST} == *"-uclibc" ]] && \ + epatch "${FILESDIR}/${P}-uclibc-resolver.patch" + sed -i -e "s#CC = @gcc#CC = $(tc-getCC)#g" unix-console/Makefile } src_compile() {