Chris Bennett writes:
> I've not run into this problem before.
> All of the modules and man pages have DOS line endings.
>
> How do I deal with this? dos2unix? Something else?
See the end of /usr/ports/infrastructure/templates/Makefile.template:
# Fix dos line-endings in files needing patches
#pre-patch:
# @cd ${WRKSRC} && perl -i -pe 's/\r$$//' [...]
As the comment suggests, I wouldn't bother fixing line endings except
in files needing patches, or perhaps user-facing plaintext documentation.
--
Anthony J. Bentley
No comments:
Post a Comment