Package-Manager: Portage-2.3.3, Repoman-2.3.1
--- /dev/null
+--- a/MANIFEST
++++ b/MANIFEST
+@@ -4678,6 +4678,7 @@
+ pad.h Scratchpad headers
+ parser.h parser object header
++patchlevel-gentoo.h Gentoo's Perl patch level
+ patchlevel.h The current patch level of perl
+ perlapi.c Perl API functions
+ perlapi.h Perl API function declarations
+ perl.c main()
# it under the same terms as Perl itself.
local patchdir="${WORKDIR}/patches"
local prefix
- local patchoutput="patchlevel-gentoo.h"
[[ -f ${patchdir}/series ]] || return 0
# label: prepend to the hold space
:prepend x; H; d;
'
-done < "${WORKDIR}"/patches/series > "${S}/${patchoutput}"
-echo "${patchoutput}" >> "${S}/MANIFEST"
+done < "${WORKDIR}"/patches/series > "${S}/patchlevel-gentoo.h"
+
+ eapply "${FILESDIR}/perl-patchlevel-manifest.patch"
}
src_prepare() {