diff options
author | schmonz <schmonz> | 2004-08-25 04:09:10 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2004-08-25 04:09:10 +0000 |
commit | 1252b4a3e31a7c580bddd24000949f8d8988f098 (patch) | |
tree | dfc6fb6c61cfaa78c9b7c85cb2618cd29a341885 /mk/bsd.pkg.defaults.mk | |
parent | 768f3119456122f9c8452f1faf6162b4cb65d211 (diff) | |
download | pkgsrc-1252b4a3e31a7c580bddd24000949f8d8988f098.tar.gz |
Add a knob PKGSRC_SHOW_PATCH_ERRORMSG to control whether the newly
verbose message displayed on patch failure is in fact displayed on
patch failure. It defaults to "no" if PKG_DEVELOPER is defined,
"yes" otherwise. While here, rename PKG_PATCH_FAIL to PKGSRC_PATCH_FAIL.
Diffstat (limited to 'mk/bsd.pkg.defaults.mk')
-rw-r--r-- | mk/bsd.pkg.defaults.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk index 2d33a8004f7..f3379243a42 100644 --- a/mk/bsd.pkg.defaults.mk +++ b/mk/bsd.pkg.defaults.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.defaults.mk,v 1.277 2004/08/10 05:59:45 schmonz Exp $ +# $NetBSD: bsd.pkg.defaults.mk,v 1.278 2004/08/25 04:09:10 schmonz Exp $ # # A file providing defaults for pkgsrc and the packages collection. @@ -119,6 +119,15 @@ PKGSRC_SHOW_BUILD_DEFS?=yes # Possible: "yes", not "yes" # Default: "yes" +.if defined(PKG_DEVELOPER) +PKGSRC_SHOW_PATCH_ERRORMSG?=no +.else +PKGSRC_SHOW_PATCH_ERRORMSG?=yes +.endif +# Print a potentially helpful error message when the "patch" stage fails +# Possible: "yes", not "yes" +# Default: "no" if PKG_DEVELOPER is defined, "yes" otherwise + PKGSRC_RUN_TEST?= no # Run test target before install # Possible: yes, no |