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 | |
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}
Notes
Notes:
svn path=/head/; revision=68900
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/sim/Makefile | 6 | ||||
-rw-r--r-- | emulators/simh/Makefile | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/emulators/sim/Makefile b/emulators/sim/Makefile index df9adbdbbc3a..e86496cdcf05 100644 --- a/emulators/sim/Makefile +++ b/emulators/sim/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: 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: |