diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2002-10-27 02:29:03 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2002-10-27 02:29:03 +0000 |
commit | a71bf74815aeee80f9aab3ac4a9d946de48c8e95 (patch) | |
tree | b4f6689d7374beb45bd904cfae9b495f375b899c /emulators/simh | |
parent | Mark IGNORE: does not work with newer protocol versions (diff) |
o Use tr(1) instead of perl(1)
o Only modify files in ${WRKSRC}
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: |