[Bug 233366] Mk/bsd.port.mk: Allow the FLAVOR value to be '0' (zero)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 21 02:09:17 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233366

            Bug ID: 233366
           Summary: Mk/bsd.port.mk: Allow the FLAVOR value to be '0'
                    (zero)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: yuri at freebsd.org
                CC: ports-bugs at FreeBSD.org

Created attachment 199399
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199399&action=edit
patch

Currently FLAVOR can't be 0 because in case of 0 this if clause "if !
${FLAVORS:M${FLAVOR}}" is satisfied, and it fails:

> ===>  myport-0.1 Unknown flavor '0', possible flavors: 0 2..

The attached patch eliminates this limitation.

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


More information about the freebsd-ports-bugs mailing list