Hi, While researching about a unused patches for the package net-libs/nativebiginteger ([1]see bug#728808), i saw that this package, even though the PATCHES variable was defined, it actually doesn't even try to patch. I don't know why, but if i'm removing the eclass java-pkg-2 it worked and actually failed as expected. A quick look at the the tree i found 2 other packages which do have the PATCHES variable set but they won't be applied: dev-java/commons-math-2.1-r2.ebuild dev-java/jrrd-1.0.1-r2.ebuild I also checked the documentation about this, but as far as i can see this behavior isn't somewhere noted. Also while checking a few ebuilds it's seems the usual why to apply the patches is to simply define src_prepare and call default. If this is a know behavior i would create bugs for the packages how actually patch right now, otherwise i guess this should be fixed in the eclass? [1]https://bugs.gentoo.org/728808
*** This bug has been marked as a duplicate of bug 780585 ***