Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2018 12:22:54 +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: r478306 - head/Mk
Message-ID:  <201808281222.w7SCMscF010359@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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