--- smartmontools-5.33.ebuild 2005-05-09 05:38:00.000000000 +0200 +++ smartmontools-5.33-r1.ebuild 2005-08-23 01:24:22.000000000 +0200 @@ -9,11 +9,18 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 ia64 ppc sparc x86" -IUSE="" +IUSE="diet static" RDEPEND="" DEPEND=">=sys-apps/portage-2.0.51" +src_compile() { + use diet && CC="diet ${CC:-gcc}" && export CC + use static && LDFLAGS="-static" && export LDFLAGS + econf + emake +} + src_install() { dosbin smart{ctl,d} || die "dosbin" doman *.[58]