Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2020 12:12:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 245637] Mk/bsd.java.mk: Allow ports to override make targets and include <bsd.port.pre.mk>
Message-ID:  <bug-245637-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 245637
           Summary: Mk/bsd.java.mk: Allow ports to override make targets
                    and include <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: ports-bugs@FreeBSD.org
          Reporter: language.devel@gmail.com

Currently, if a port has USES_JAVA=3Dyes, .include <bsd.port.pre.mk>, and
overrides a make target (e.g. do-build:), then the following warnings are
produced when invoking make on the port:

make: "/usr/ports/c/p/Makefile" line XX: warning: duplicate script for targ=
et
"do-build" ignored
make: "/usr/ports/Mk/bsd.java.mk" line 400: warning: using previous script =
for
"do-build" defined here

See bug #224948 for corresponding fixed issue in Mk/Uses/go.mk.

--=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-245637-7788>