[Bug 263056] graphics/epsonscan2-non-free-plugin: Move message from .warning in Makefile to pkg-message

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 05 Apr 2022 09:14:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263056

            Bug ID: 263056
           Summary: graphics/epsonscan2-non-free-plugin: Move message from
                    .warning in Makefile to pkg-message
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: yasu@freebsd.org
                CC: fbsd@opal.com
                CC: fbsd@opal.com
             Flags: maintainer-feedback?(fbsd@opal.com)

Created attachment 232954
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232954&action=edit
Patch file

There is two problems about using .warning in Makefile.

1. It is evaluated only when make(1) is invoked. So user of binary package
never see the message.
2. It is not related to specific target. So the message is displayed with
improper case such as `make index`.

So add the message to pkg-message rather than using .warning in Makefile.

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