Bug 165119 - net/mtr-nox11 options still has x11 enabled
Summary: net/mtr-nox11 options still has x11 enabled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-13 23:30 UTC by edwin
Modified: 2012-02-14 09:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description edwin 2012-02-13 23:30:09 UTC
When running make config in net/mtr-nox11

    │ Options for mtr-nox11 0.81                                         │
    │ ┌────────────────────────────────────────────────────────────────┐ │
    │ │                [*] IPV6  Build IPv6 support                    │ │
    │ │                [*] X11   Build X11-enabled mtr                 │ │


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}
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-02-13 23:30:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2012-02-14 09:00:10 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-02-14 09:00:28 UTC
sunpoet     2012-02-14 08:59:49 UTC

  FreeBSD ports repository

  Modified files:
    net/mtr              Makefile 
  Log:
  - Set OPTIONS X11 correctly by detecting WITHOUT_X11 setting first
  
  PR:             ports/165119
  Submitted by:   edwin
  
  Revision  Changes    Path
  1.83      +3 -2      ports/net/mtr/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"