--- kismet-2004.10.1.ebuild 2004-10-26 18:07:39.925267990 +0000 +++ kismet-2004.10.1-r1.ebuild 2004-10-26 15:35:45.000000000 +0000 @@ -48,16 +48,18 @@ } src_compile() { + APPENDIX="" if use ethereal then cd ${WORKDIR}/ethereal-${ETHEREAL_VERSION}/wiretap econf || die "wiretap econf failed" emake || die "wiretap emake failed" cd ${S} + APPENDIX="=${WORKDIR}/ethereal-${ETHEREAL_VERSION}" fi econf \ - `use_with ethereal ethereal=${WORKDIR}/ethereal-${ETHEREAL_VERSION}` \ + `use_with ethereal ethereal${APPENDIX}` \ || die "econf failed" emake dep || die "emake dep failed"