ports/175166: Update to new OPTIONS framework
Erik Greenwald
erik at brlcad.org
Wed Jan 9 20:20:01 UTC 2013
>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:
More information about the freebsd-ports-bugs
mailing list