Subject: unnecessary definitions of PKG_TOOLS_BIN in defs.*.mk
To: None <tech-pkg@NetBSD.org>
From: Klaus Heinz <k.heinz.maer.vier@onlinehome.de>
List: tech-pkg
Date: 03/27/2004 02:09:48
Hi,

defs.Linux,mk:

  PKG_TOOLS_BIN?=         ${LOCALBASE}/sbin
  ...
  .if exists(${LOCALBASE}/sbin/pkg_info)
  PKG_TOOLS_BIN?=         ${LOCALBASE}/sbin
  .endif
  PKG_TOOLS_BIN?=         ${LOCALBASE}/bin

defs.Darwin.mk:

  PKG_TOOLS_BIN?=         ${LOCALBASE}/sbin
  ...
  .if exists(${LOCALBASE}/sbin/pkg_info)
  PKG_TOOLS_BIN?=         ${LOCALBASE}/sbin
  .endif
  PKG_TOOLS_BIN?=         ${LOCALBASE}/bin

The first line above in defs.Linux.mk and defs.Darwin.mk could go.
Or am I missing something?

ciao
     Klaus