Skip site navigation (1)Skip section navigation (2)
Date:      9 Jan 2013 20:16:09 -0000
From:      Erik Greenwald <erik@brlcad.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        erik@elfga.com
Subject:   ports/175166: Update to new OPTIONS framework
Message-ID:  <20130109201609.38866.qmail@bz.bzflag.bz>
Resent-Message-ID: <201301092020.r09KK0Cj025737@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175166
>Category:       ports
>Synopsis:       Update to new OPTIONS framework
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 09 20:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Erik Greenwald
>Release:        
>Organization:
>Environment:

>Description:
Updated to use the new options framework.
>How-To-Repeat:
>Fix:

--- cad_brlcad.patch begins here ---
Index: cad/brlcad/Makefile
===================================================================
--- cad/brlcad/Makefile	(revision 310123)
+++ cad/brlcad/Makefile	(working copy)
@@ -181,13 +181,15 @@
 	window.nged window_frame.nged wire.nged wmater.nged x.nged		\
 	xpush.nged zoom.nged
 
-OPTIONS=	OPTIMIZATION "Build with optimizations" on
+OPTIONS_DEFINE=		OPTIMIZATION
+OPTIMIZATION_DESC=	Build with optimizations
+OPTIONS_DEFAULT=	OPTIMIZATION
 
 .include <bsd.port.pre.mk>
 
 EXTRA_LIBS=	${PTHREAD_LIBS}
 
-.ifdef WITH_OPTIMIZATION
+.if ${PORT_OPTIONS:MOPTIMIZATION}
 CMAKE_BUILD_TYPE=Release
 .endif
 
--- cad_brlcad.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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