--- /usr/portage/net-analyzer/pnp4nagios/pnp4nagios-0.6.4.ebuild 2010-07-30 12:16:50.000000000 -0400 +++ pnp4nagios-0.6.4-r1.ebuild 2010-08-12 12:10:41.000000000 -0400 @@ -4,7 +4,7 @@ EAPI="2" -inherit depend.apache +inherit depend.apache eutils DESCRIPTION="A performance data analyzer for nagios" HOMEPAGE="http://www.pnp4nagios.org" @@ -32,6 +32,11 @@ depend.apache_pkg_setup } +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch + epatch "${FILESDIR}"/${P}-stripped.patch +} + src_configure() { econf \ --sysconfdir=/etc/pnp \ @@ -45,7 +50,7 @@ } src_install() { - emake DESTDIR="${D}" install install-config || die "emake install failed" + emake DESTDIR="${D}" install-unstripped install-config || die "emake install failed" doinitd "${FILESDIR}/npcd" rm "${D}/usr/share/pnp/install.php"