git: Avoid redefining $PROG target

Sascha Wildner swildner at
Thu Oct 4 09:59:28 PDT 2012

commit b4061d6cf8a3f9e959e064a3b5127b0172117fe6
Author: John Marino <netbsd at>
Date:   Thu Oct 4 18:17:47 2012 +0200 Avoid redefining $PROG target
    In rare cases, the PROG target is intentionally redefined before
    including, but when that happens a target redefinition
    warning is emitting.  This adds a check for a pre-existing $PROG
    target before attempting to define it.
    It stops warnings from being emitted when loader and loader_tftp
    are built.

Summary of changes:
 share/mk/ |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list