Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Sep 2017 17:00:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222030] ports-mgmt/portlint: Should be ok to add to OPTIONS_DEFAULT after including bsd.port.pre.mk
Message-ID:  <bug-222030-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: yuri@rawbw.com
             Flags: maintainer-feedback?(marcus@FreeBSD.org)
          Assignee: marcus@FreeBSD.org

portlint prints this error:

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

For this code:

> OPTIONS_DEFINE=3D HELP SUPERNOVA
> OPTIONS_DEFAULT=3DHELP
> ...skipped...
> .include <bsd.port.pre.mk>
>=20
> .if ${OPSYS} !=3D FreeBSD || ${OSVERSION} >=3D 1100000
> OPTIONS_DEFAULT+=3D       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.)

--=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-222030-13>