Refactor src_unpack to reflect EAPI>=2 usage. Bug #312943
authorMarkos Chandras <hwoarang@gentoo.org>
Sun, 18 Jul 2010 16:47:55 +0000 (19:47 +0300)
committerMarkos Chandras <hwoarang@gentoo.org>
Sun, 18 Jul 2010 16:47:55 +0000 (19:47 +0300)
ebuild-writing/functions/src_unpack/text.xml

index 84bb08d..453ecef 100644 (file)
@@ -55,6 +55,10 @@ src_unpack() {
     sed -i -e 's/"ispell"/"aspell"/' src/defaults.h || die "Sed failed!"
 }
 </codesample>
+<note>
+When using EAPI >=2, you should use the <uri link="::ebuild-writing/functions/src_prepare">src_prepare</uri> function to apply patches or alter any of the source files, instead of the src_unpack.
+</note>
+
 </body>
 </section>