zip-2.3-r2 won't emerge if USE=crypt is set unless unzip is installed, i.e. it is a missing dependency. ebuild to be attached.
Created attachment 14663 [details] app-arch/zip/zip-2.3-r3.ebuild Require app-arch/unzip if using crypt so that patch can be unpacked. --- zip-2.3-r2.ebuild 2003-07-16 02:15:42.000000000 -0400 +++ zip-2.3-r3.ebuild 2003-07-18 11:14:55.000000000 -0400 @@ -13,6 +13,10 @@ KEYWORDS="~x86 ~ppc ~sparc ~alpha" LICENSE="Info-ZIP" +if use crypt >/dev/null; then + DEPEND="app-arch/unzip" +fi + src_unpack() { unpack ${A} if [ "`use crypt`" ]; then
Created attachment 14664 [details] app-arch/zip/zip-2.3-r3.ebuild The preceding ebuild is the result of an insufficient amount of coffee. It does work, but is not very Gentoo-ish. --- zip-2.3-r2.ebuild 2003-07-16 02:15:42.000000000 -0400 +++ zip-2.3-r3.ebuild 2003-07-18 11:27:24.000000000 -0400 @@ -13,6 +13,8 @@ KEYWORDS="~x86 ~ppc ~sparc ~alpha" LICENSE="Info-ZIP" +DEPEND="crypt? ( app-arch/unzip )" + src_unpack() { unpack ${A} if [ "`use crypt`" ]; then
your fix is too dirty fixed in cvs
ok 2nd is better :)