Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147410509
D22174.id64024.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D22174.id64024.diff
View Options
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk
+++ Mk/bsd.port.mk
@@ -1030,6 +1030,7 @@
FLAVORS?=
FLAVOR?=
OVERLAYS?=
+REWARNFILE=? ${WRKDIR}/reinplace_warnings.txt
# Disallow forced FLAVOR as make argument since we cannot change it to the
# proper default.
.if empty(FLAVOR) && !empty(.MAKEOVERRIDES:MFLAVOR)
@@ -1610,6 +1611,7 @@
PREFIX=${PREFIX} \
LINUXBASE=${LINUXBASE} \
LOCALBASE=${LOCALBASE} \
+ REWARNFILE=${REWARNFILE} \
"STRIP=${STRIP}" \
TMPPLIST=${TMPPLIST} \
CURDIR='${.CURDIR}' \
@@ -1998,7 +2000,12 @@
# Macro for doing in-place file editing using regexps
REINPLACE_ARGS?= -i.bak
+.if defined(DEVELOPER)
+REINPLACE_CMD?= ${SETENV} REWARNFILE=${REWARNFILE} ${PORTSDIR}/Tools/scripts/sed_checked.sh
+.else
REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS}
+.endif
+FRAMEWORK_REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS}
# Names of cookies used to skip already completed stages
EXTRACT_COOKIE?= ${WRKDIR}/.extract_done.${PORTNAME}.${PREFIX:S/\//_/g}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 11, 6:33 PM (12 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29546826
Default Alt Text
D22174.id64024.diff (1 KB)
Attached To
Mode
D22174: WIP: check for REINPLACE_CMD usage that doesn't do anything
Attached
Detach File
Event Timeline
Log In to Comment