--- cacti-0.8.7i.ebuild 2011-12-12 10:27:34.000000000 +0200 +++ cacti-0.8.7i.ebuild 2011-12-13 18:29:38.807841091 +0200 @@ -7,7 +7,7 @@ EAPI="2" inherit eutils webapp depend.php # Support for _p* in version. -MY_P=${P/_p*/} +MY_P=${P/_p*/}-PIA-3.1 UPSTREAM_PATCHES="" DESCRIPTION="Cacti is a complete frontend to rrdtool" @@ -37,6 +37,8 @@ RDEPEND="snmp? ( >=net-analyzer/net-snmp dev-lang/php[cli,mysql,xml,session,sockets] || ( =dev-lang/php-5.3 )" +S="${WORKDIR}/${MY_P}" + src_unpack() { unpack ${MY_P}.tar.gz if [[ -n ${UPSTREAM_PATCHES} ]]; then