[Bug 222030] ports-mgmt/portlint: Should be ok to add to OPTIONS_DEFAULT after including bsd.port.pre.mk

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 3 17:00:09 UTC 2017


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

            Bug ID: 222030
           Summary: ports-mgmt/portlint: Should be ok to add to
                    OPTIONS_DEFAULT after including bsd.port.pre.mk
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus at FreeBSD.org
          Reporter: yuri at rawbw.com
             Flags: maintainer-feedback?(marcus at FreeBSD.org)
          Assignee: marcus at FreeBSD.org

portlint prints this error:

> FATAL: Makefile: [53]: OPTIONS_DEFAULT is set after including bsd.port.pre.mk.

For this code:

> OPTIONS_DEFINE= HELP SUPERNOVA
> OPTIONS_DEFAULT=HELP
> ...skipped...
> .include <bsd.port.pre.mk>
> 
> .if ${OPSYS} != FreeBSD || ${OSVERSION} >= 1100000
> OPTIONS_DEFAULT+=       SUPERNOVA
> .endif

It should be ok to add to OPTIONS_DEFAULT after include <bsd.port.pre.mk>.

(The option SUPERNOVA fails on 10, but succeed on 11.)

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


More information about the freebsd-ports-bugs mailing list