ports/175747: [patch][bsd.options.mk]: activate DEBUG
Jason Helfman
jgh at FreeBSD.org
Fri Feb 1 01:40:00 UTC 2013
>Number: 175747
>Category: ports
>Synopsis: [patch][bsd.options.mk]: activate DEBUG
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 01 01:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Jason Helfman
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r245102: Sun Jan 6 15:01:33 UTC 2013 root at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64
>Description:
turn on debugging for new options framework (consider for default)
>How-To-Repeat:
>Fix:
Index: bsd.options.mk
===================================================================
--- bsd.options.mk (revision 311344)
+++ bsd.options.mk (working copy)
@@ -66,6 +66,12 @@
# Activate IPV6 by default
PORT_OPTIONS+= IPV6
+# Activate debugging
+
+.if !defined(WITHOUT_DEBUG)
+PORT_OPTIONS+= DEBUG
+.endif
+
# Exclude per arch options
.for opt in ${OPTIONS_EXCLUDE_${ARCH}}
OPTIONS_DEFINE:= ${OPTIONS_DEFINE:N${opt}}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list