On Sat, Sep 03, 2016 at 12:59:38PM +0100, Stuart Henderson wrote:
> As edd noticed, when you're updating a port, patches sometimes misapply
> in a bad way, and it can be hard to spot them with the default quiet
> patch flags. Any objection to flipping the default for PATCH_DEBUG to
> make this easier to see? OK?
>
ok for me, I have it in my mk.conf(5) for ages.
Giovanni
>
> Index: bsd.port.mk
> ===================================================================
> RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
> retrieving revision 1.1320
> diff -u -p -r1.1320 bsd.port.mk
> --- bsd.port.mk 18 Aug 2016 12:28:53 -0000 1.1320
> +++ bsd.port.mk 3 Sep 2016 11:55:32 -0000
> @@ -704,7 +704,7 @@ PATCHORIG ?= .orig
> PATCH_STRIP ?= -p0
> PATCH_DIST_STRIP ?= -p0
>
> -PATCH_DEBUG ?= No
> +PATCH_DEBUG ?= Yes
> .if ${PATCH_DEBUG:L} != "no"
> PATCH_ARGS ?= -d ${WRKDIST} -z ${PATCHORIG} -E ${PATCH_STRIP}
> PATCH_DIST_ARGS ?= -z ${DISTORIG} -d ${WRKDIST} -E ${PATCH_DIST_STRIP}
>