Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2018 10:02:12 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473538 - head/Mk
Message-ID:  <201806291002.w5TA2CL3051288@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Jun 29 10:02:12 2018
New Revision: 473538
URL: https://svnweb.freebsd.org/changeset/ports/473538

Log:
  Keep --forward when using PATCH_DEBUG.
  
  Otherwise, when used with BATCH defined so as to not be bothered by
  config screen and all, it will almost silently reverse obsolete patches
  and make you wonder why something is now broken.
  
  Reviewed by:	sbruno
  Sponsored by:	Absolight
  Differential Revision:	https://reviews.freebsd.org/D15804

Modified:
  head/Mk/bsd.port.mk   (contents, props changed)

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Fri Jun 29 09:37:17 2018	(r473537)
+++ head/Mk/bsd.port.mk	Fri Jun 29 10:02:12 2018	(r473538)
@@ -2125,8 +2125,8 @@ PATCH_STRIP?=	-p0
 PATCH_DIST_STRIP?=	-p0
 .if defined(PATCH_DEBUG)
 PATCH_DEBUG_TMP=	yes
-PATCH_ARGS?=	-E ${PATCH_STRIP}
-PATCH_DIST_ARGS?=	--suffix ${DISTORIG} -E ${PATCH_DIST_STRIP}
+PATCH_ARGS?=	--forward -E ${PATCH_STRIP}
+PATCH_DIST_ARGS?=	--suffix ${DISTORIG} --forward -E ${PATCH_DIST_STRIP}
 .else
 PATCH_ARGS?=	--forward --quiet -E ${PATCH_STRIP}
 PATCH_DIST_ARGS?=	--suffix ${DISTORIG} --forward --quiet -E ${PATCH_DIST_STRIP}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806291002.w5TA2CL3051288>