diff options
Diffstat (limited to 'emulators/simh')
-rw-r--r-- | emulators/simh/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile index df9adbdbbc3a..e86496cdcf05 100644 --- a/emulators/simh/Makefile +++ b/emulators/simh/Makefile @@ -27,9 +27,9 @@ BIN_FILES= altair eclipse h316 nova pdp1 pdp10 pdp11 pdp15 pdp4 pdp7 pdp8 \ pre-patch: @${MKDIR} ${WRKSRC}/BIN - @for i in `find . -name "*.[hc]"`; \ - do \ - ${PERL} -pi -e 's@\r@@g' $$i ;\ + @for i in `find ${WRKSRC} -name "*.[hc]"`; do \ + cat $$i | tr -d '\r' > $$i.new; \ + mv $$i.new $$i; \ done do-install: |