Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2015 21:39:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202701] bsd.options.mk: OPTIONS_(SLAVE|EXCLUDE) fail to honor ${opt}_IMPLIES
Message-ID:  <bug-202701-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202701

            Bug ID: 202701
           Summary: bsd.options.mk: OPTIONS_(SLAVE|EXCLUDE) fail to honor
                    ${opt}_IMPLIES
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: freebsd-ports-bugs@FreeBSD.org

In order to avoid leaking details of master port intra-dependencies into slave
Makefiles OPTIONS_SLAVE and OPTIONS_EXCLUDE should chase _IMPLIES. Here're
examples to illustrate:

  MASTERDIR=    ${PORTSDIR}/audio/alsa-plugins
  OPTIONS_SLAVE=    JACK # should append SAMPLERATE
  .include "${MASTERDIR}/Makefile"


  MASTERDIR=    ${PORTSDIR}/editors/emacs
  OPTIONS_EXCLUDE=    X11 # should append long list of X11 consumers
  .include "${MASTERDIR}/Makefile"

-- 
You are receiving this mail because:
You are on the CC list for the bug.



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