--- /usr/portage/app-admin/testdisk/testdisk-5.9.ebuild 2005-09-04 06:05:44.000000000 +0300 +++ testdisk-5.9.ebuild 2005-09-06 19:01:12.071001750 +0300 @@ -11,20 +11,25 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="static reiserfs ntfs" +IUSE="static reiserfs ntfs jpeg" DEPEND=">=sys-libs/ncurses-5.2 ntfs? ( >=sys-fs/ntfsprogs-1.9.4 ) reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 ) + jpeg? ( media-libs/jpeg ) >=sys-fs/e2fsprogs-1.35" RDEPEND="!static? ( ${DEPEND} )" S=${WORKDIR}/${MY_P} src_compile() { - econf $(use_with ntfs) $(use_with reiserfs) || die + local myconf + use ntfs || myconf="${myconf} --without-ntfs" + use reiserfs || myconf="${myconf} --without-reiserfs" + use ntfs || myconf="${myconf} --without-jpeg" + econf ${myconf} || die if use static then - emake smallstatic || die + emake static || die else emake || die fi