--- vino-2.13.5.ebuild.orig 2006-05-07 14:59:18.000000000 +0200 +++ vino-2.13.5.ebuild.orig 2006-05-07 15:02:18.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/vino/vino-2.13.5.ebuild,v 1.2 2006/05/06 13:03:23 allanonjl Exp $ -inherit eutils gnome2 +inherit autotools eutils gnome2 DESCRIPTION="An integrated VNC server for GNOME" HOMEPAGE="http://www.gnome.org/" @@ -42,8 +42,12 @@ cd "${S}" # Fix compilation if --without-libz is passed - epatch ${FILESDIR}/${PN}-2.11-zlib_fix.patch + epatch "${FILESDIR}"/${PN}-2.11-zlib_fix.patch # Fix compilation for Gentoo/FreeBSD - epatch ${FILESDIR}/${PN}-2.10.0-fbsd.patch + epatch "${FILESDIR}"/${PN}-2.10.0-fbsd.patch + + # Fix compilation with LDFLAGS="-Wl,--as-needed" + epatch "${FILESDIR}"/${P}-as-needed.patch + eautoreconf }