svn commit: r473538 - head/Mk
Mathieu Arnold
mat at FreeBSD.org
Fri Jun 29 10:02:13 UTC 2018
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}
More information about the svn-ports-all
mailing list