blob: f2e87cb6a61b5cc9284abb5ec50ddcbae7a4b992 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
Use BSD instead of GNU sed(1) convention
--- rules.mak.orig 2025-07-30 06:00:02 UTC
+++ rules.mak
@@ -17,7 +17,7 @@ ${DEPEND_FILE}: ${DEPSRCS}
# it indicates a missing dependency somewhere in a upstream/parent Makefile.
${DEPEND_FILE}: ${DEPSRCS}
${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${DEPEND_FLAG} ${DEPSRCS} > ${DEPEND_FILE}$$PPID.tmp
- ${SED} -e "/#/D" -e "/ \//s/ \/.*\.h//" -e "/ \\\/D" -i ${DEPEND_FILE}$$PPID.tmp
+ ${SED} -e "/#/D" -e "/ \//s/ \/.*\.h//" -e "/ \\\/D" -i '' ${DEPEND_FILE}$$PPID.tmp
${MV} -f ${DEPEND_FILE}$$PPID.tmp ${DEPEND_FILE}
# Original Depend file generating line:
|