Summary: | zip needs unzip if USE=crypt | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andy Dustman <farcepest> |
Component: | New packages | Assignee: | Martin Holzer (RETIRED) <mholzer> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.4_rc4 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
app-arch/zip/zip-2.3-r3.ebuild
app-arch/zip/zip-2.3-r3.ebuild |
Description
Andy Dustman
2003-07-18 08:20:23 UTC
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 :) |