Index: ethereal-0.10.12-r1.ebuild =================================================================== --- ethereal-0.10.12.ebuild (Gentoo's version) +++ ethereal-0.10.12-r1.ebuild (version with "nosave" use-flag) @@ -12,7 +12,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" -IUSE="adns gtk ipv6 snmp ssl gtk2 kerberos" +IUSE="adns gtk ipv6 snmp ssl gtk2 kerberos nosave" # if --disable-gtk2 is not passed to configure it will try to build with glib-2.0. # --disable-ethereal do not have an influence. @@ -42,6 +42,9 @@ unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-fix-encrypted-conflict.diff + if use nosave; then + epatch ${FILESDIR}/${P}-nosave.patch + fi } src_compile() {