ports/173811: [PATCH] astro/marble optionsng

Chris Petrik c.petrik.sosa at gmail.com
Wed Nov 21 23:00:01 UTC 2012


>Number:         173811
>Category:       ports
>Synopsis:       [PATCH] astro/marble optionsng
>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:   Wed Nov 21 23:00:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Petrik
>Release:        
>Organization:
na
>Environment:
>Description:
OptionsNg
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: marble/Makefile
===================================================================
--- marble/Makefile     (revision 305494)
+++ marble/Makefile     (working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   marble
-# Date created:                2010-05-30
-# Whom:                        Max Brazhnikov <makc at FreeBSD.org>
-#
+# Created by: Max Brazhnikov <makc at FreeBSD.org>
 # $FreeBSD$
-#

 PORTNAME=      marble
 PORTVERSION=   ${KDE4_VERSION}
@@ -27,11 +23,14 @@
 MAKE_JOBS_SAFE=        yes
 CMAKE_ARGS=    -DMOBILE:BOOL=FALSE

-OPTIONS=       GPS "Support for GPS position provider" on
+OPTIONS_DEFINE=        GPS
+OPTIONS_DEFAULT=       GPS

+GPS_DESC=      Support for GPS position provider
+
 .include <bsd.port.options.mk>

-.ifndef(WITHOUT_GPS)
+.if ${PORT_OPTIONS:MGPS}
 LIB_DEPENDS+=  gps.20:${PORTSDIR}/astro/gpsd
 PLIST_SUB+=    GPS=""
 .else

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


More information about the freebsd-ports-bugs mailing list