svn commit: r478306 - head/Mk

Mathieu Arnold mat at FreeBSD.org
Tue Aug 28 12:22:55 UTC 2018


Author: mat
Date: Tue Aug 28 12:22:53 2018
New Revision: 478306
URL: https://svnweb.freebsd.org/changeset/ports/478306

Log:
  Remove automagic WITH_DEBUG activation with the DEBUG option.
  
  - People keep adding options named DEBUG to enable verbose things in
    their ports and have no idea it also enables WITH_DEBUG.
  - We already have WITH_DEBUG_PORTS that can enable WITH_DEBUG on a per
    port basis.
  
  Differential Revision:	https://reviews.freebsd.org/D16829

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

Modified: head/Mk/bsd.options.mk
==============================================================================
--- head/Mk/bsd.options.mk	Tue Aug 28 12:21:12 2018	(r478305)
+++ head/Mk/bsd.options.mk	Tue Aug 28 12:22:53 2018	(r478306)
@@ -423,10 +423,6 @@ PLIST_SUB+=	        PORTEXAMPLES="@comment "
 PLIST_SUB+=	        PORTEXAMPLES=""
 .endif
 
-.if ${PORT_OPTIONS:MDEBUG}
-WITH_DEBUG=	yes
-.endif
-
 .if defined(NO_OPTIONS_SORT)
 ALL_OPTIONS=	${OPTIONS_DEFINE}
 .endif


More information about the svn-ports-head mailing list