diff options
author | jedgar <jedgar@FreeBSD.org> | 2002-10-27 10:29:03 +0800 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2002-10-27 10:29:03 +0800 |
commit | e034b47319ab82f925e5010293cbf46869843fa2 (patch) | |
tree | bcb0c1b4bafd4a42bce998a3b7cffe657c2a2820 /emulators | |
parent | 56aeae832f1cdab97c0376ae09cb41966f79240f (diff) | |
download | freebsd-ports-gnome-e034b47319ab82f925e5010293cbf46869843fa2.tar.gz freebsd-ports-gnome-e034b47319ab82f925e5010293cbf46869843fa2.tar.zst freebsd-ports-gnome-e034b47319ab82f925e5010293cbf46869843fa2.zip |
o Use tr(1) instead of perl(1)
o Only modify files in ${WRKSRC}
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: |