summaryrefslogtreecommitdiff
path: root/emulators/simh
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2002-10-27 02:29:03 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2002-10-27 02:29:03 +0000
commita71bf74815aeee80f9aab3ac4a9d946de48c8e95 (patch)
treeb4f6689d7374beb45bd904cfae9b495f375b899c /emulators/simh
parentMark 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/Makefile6
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: