[72118] trunk/dports/devel/gettext-lint
Anders F Björklund
afb at macports.org
Mon Oct 4 00:40:03 PDT 2010
Ryan Schmidt:
> You don't need dos2unix or any other additional program to
> translate DOS to UNIX line endings; just use a reinplace. I do this
> in many ports already.
>
> post-patch {
> reinplace "s|\r||g" ${worksrcpath}/src/POFileClean.in
> }
And that regex is somehow easier to read ? ;-)
Maybe base should grow a native "dos2unix"...
Then you wouldn't need to copy the junk, but:
dos2unix -k ${worksrcpath}/src/POFileClean.in
--anders
More information about the macports-dev
mailing list