Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2017 15:53:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218260] ports-mgmt/portlint: portlint shouldn't complain about unused option when it is actually used
Message-ID:  <bug-218260-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 218260
           Summary: ports-mgmt/portlint: portlint shouldn't complain about
                    unused option when it is actually used
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus@FreeBSD.org
          Reporter: yuri@rawbw.com
             Flags: maintainer-feedback?(marcus@FreeBSD.org)
          Assignee: marcus@FreeBSD.org

For one port I defined the option BUNDLED_NACL which is used:
> BUNDLED_NACL_MAKE_ENV_OFF+=3D     SODIUM_INSTALL=3Dsystem
> BUNDLED_NACL_LIB_DEPENDS_OFF=3D   libsodium.so:security/libsodium

Yes, portlint complains:

> WARN: Makefile: BUNDLED_NACL is listed in OPTIONS_DEFINE, but no PORT_OPT=
IONS:MBUNDLED_NACL appears.

It should check all uses, not just PORT_OPTIONS:MBUNDLED_NACL.

--=20
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-218260-13>