[Bug 251430] ports-mgmt/portlint: "the last line of Makefile has to be .include <bsd.port(.post).mk>" is a bit too strict

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 27 22:07:03 UTC 2020


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

            Bug ID: 251430
           Summary: ports-mgmt/portlint: "the last line of Makefile has to
                    be .include <bsd.port(.post).mk>" is a bit too strict
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus at FreeBSD.org
          Reporter: gerald at FreeBSD.org
          Assignee: marcus at FreeBSD.org
             Flags: maintainer-feedback?(marcus at FreeBSD.org)

In case of emulators/wine portlint -C issues a FATAL error:

  FATAL: Makefile: the last line of Makefile has to be .include
<bsd.port(.post).mk>

This is general correct, however that port's Makefile ends with

  .ifndef WINE_SLAVE_BUILD
  .include <bsd.port.post.mk>
  .endif

I suggest to also allow for .endif as the last line of a Makefile.

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


More information about the freebsd-ports-bugs mailing list