diff options
author | mat <mat@FreeBSD.org> | 2018-06-29 18:02:12 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2018-06-29 18:02:12 +0800 |
commit | 9ed161dcf3c4e7691a009e14949abb2b7cfc2a85 (patch) | |
tree | 7b42ac6e01a0c2808bb3020dffe4d98d957da0fb /Mk | |
parent | d9250471ce6a66193eb8b02724395a67c7dfefa3 (diff) | |
download | freebsd-ports-gnome-9ed161dcf3c4e7691a009e14949abb2b7cfc2a85.tar.gz freebsd-ports-gnome-9ed161dcf3c4e7691a009e14949abb2b7cfc2a85.tar.zst freebsd-ports-gnome-9ed161dcf3c4e7691a009e14949abb2b7cfc2a85.zip |
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
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 4b857c044e2b..31f7edb160e3 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -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} |