Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Dec 2014 06:04:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195817] New: Mk/bsd.options.mk: ${opt}_USE_OFF is missing
Message-ID:  <bug-195817-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 195817
           Summary: Mk/bsd.options.mk: ${opt}_USE_OFF is missing
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jbeich@vfemail.net

Some ports may benefit from having USE_FOO defined when an option is disabled.
For example, the following currently doesn't work

  SDL2_USE=       SDL=sdl2
  SDL2_USE_OFF=   SDL=sdl

and needs to be rewritten as either

  SDL2_USE=       SDL=sdl2
  SDL2_LIB_DEPENDS_OFF=libSDL.so:${PORTSDIR}/devel/sdl12

or

  SDL2_USE=       SDL=sdl2

  .include <bsd.port.options.mk>

  .if ! ${PORT_OPTIONS:MSDL2}
  USE_SDL=        sdl
  .endif

-- 
You are receiving this mail because:
You are the assignee for the bug.



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