XP is just a number | |
PerlMonks |
Re^6: makefile.mk is missing with Perl 5.34.0 distro.by syphilis (Archbishop) |
on Aug 26, 2021 at 01:08 UTC ( [id://11136086]=note: print w/replies, xml ) | Need Help?? |
I have changed the makefile.patch file accordingly and changed the line numbers as per GNUmakefile, but not all 3 hunks are successful at a time When you follow Corion's instructions then, based on your original patch file, you should end up with something like: And that should be fine for as long as the GNUmakefile that ships with the perl source does not change. It's best to ensure that the final GNUmakefile contains unix line endings (not windows line endings) - otherwise a couple of the t/porting test files in the perl test suite will report failures. I would run dos2unix GNUmakefile before building perl, just to be sure. It's probably also important to make sure that the line endings of the GNUmakefile you're patching (which are initially unix style) matches the line endings of the patch file, otherwise the patch might not apply. Perhaps patch has a switch that will ignore differences in line endings (like diff's -w switch) ... I don't know. Otherwise, dos2unix and unix2dos are useful friends to have. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|