[Bug 195817] New: Mk/bsd.options.mk: ${opt}_USE_OFF is missing

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 9 06:04:54 UTC 2014


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 at FreeBSD.org
          Reporter: jbeich at 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.


More information about the freebsd-ports-bugs mailing list