Date: Fri, 1 Feb 2013 01:31:25 GMT From: Jason Helfman <jgh@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/175747: [patch][bsd.options.mk]: activate DEBUG Message-ID: <201302010131.r111VPfE073979@freefall.freebsd.org> Resent-Message-ID: <201302010140.r111e0a7074080@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302010131.r111VPfE073979>