Index: Mk/bsd.port.mk =================================================================== --- Mk/bsd.port.mk +++ Mk/bsd.port.mk @@ -2022,7 +2022,7 @@ # be used to set or override the -i argument. Any other use is considered # invalid. REINPLACE_ARGS?= -i.bak -.if defined(DEVELOPER) +.if defined(DEVELOPER) && ${REINPLACE_ARGS} == "-i.bak" REINPLACE_CMD?= ${SETENV} WRKSRC=${WRKSRC} REWARNFILE=${REWARNFILE} ${SCRIPTSDIR}/sed_checked.sh .else REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS}