Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2012 23:22:16 GMT
From:      Edwin Groothuis <edwin@mavetju.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165119: net/mtr-nox11 options still has x11 enabled
Message-ID:  <201202132322.q1DNMGiL082568@red.freebsd.org>
Resent-Message-ID: <201202132330.q1DNU9L6082694@freefall.freebsd.org>

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

>Number:         165119
>Category:       ports
>Synopsis:       net/mtr-nox11 options still has x11 enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 13 23:30:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        9.0
>Organization:
-
>Environment:
>Description:
When running make config in net/mtr-nox11

    &#9474; Options for mtr-nox11 0.81                                         &#9474;
    &#9474; &#9484;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9488; &#9474;
    &#9474; &#9474;                [*] IPV6  Build IPv6 support                    &#9474; &#9474;
    &#9474; &#9474;                [*] X11   Build X11-enabled mtr                 &#9474; &#9474;


Fix:

In net/mtr, check for WITHOUT_X11 before creating the OPTIONS variable:

OPTIONS_X11= X11 "Build X11-enabled mtr"
.if defined(WITHOUT_X11)
OPTIONS_X11+= off
.else
OPTIONS_X11+= on
.endif
OPTIONS=    IPV6    "Build IPv6 support" on \
            ${OPTIONS_X11}


>How-To-Repeat:

>Fix:


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



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