Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 22:34:43 GMT
From:      Chris Petrik <c.petrik.sosa@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173805: [PATCH] astro/josm optionsng
Message-ID:  <201211212234.qALMYhUL094632@red.freebsd.org>
Resent-Message-ID: <201211212240.qALMe3nf042038@freefall.freebsd.org>

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

>Number:         173805
>Category:       ports
>Synopsis:       [PATCH] astro/josm 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 22:40:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Petrik
>Release:        
>Organization:
na
>Environment:
>Description:
OptionsNG Changes
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: josm/Makefile
===================================================================
--- josm/Makefile       (revision 305494)
+++ josm/Makefile       (working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   josm
-# Date created:                2009/02/24
-# Whom:                        Gleb Smirnoff <glebius@FreeBSD.org>
-#
+# Created by: Gleb Smirnoff <glebius@FreeBSD.org>
 # $FreeBSD$
-#

 PORTNAME=      josm
 PORTVERSION=   5485
@@ -33,7 +29,8 @@

 PLIST_FILES=   bin/josm ${JAVAJARDIR:C,${PREFIX}/?,,}/${DISTNAME}

-OPTIONS=       WEBKIT_IMAGE "Build webkit-image (needed for Yahoo imagery)" off
+OPTIONS_DEFINE=        WEBKIT_IMAGE
+WEBKIT_IMAGE_DESC=     Build webkit-image (needed for Yahoo imagery)

 .include <bsd.port.options.mk>

@@ -41,7 +38,7 @@
        @${ECHO_CMD} "You can change limit of memory available to josm by defining"
        @${ECHO_CMD} "JOSM_MEMORY_LIMIT variable in /etc/make.conf. Default is 1024 (MB)."

-.if defined(WITH_WEBKIT_IMAGE)
+.if ${PORT_OPTIONS:MWEBKIT_IMAGE}
 PLIST_FILES+=  bin/webkit-image

 USE_QT4=       corelib gui webkit moc_build

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



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