From owner-freebsd-bugs Fri Sep 20 05:49:45 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA02795 for bugs-outgoing; Fri, 20 Sep 1996 05:49:45 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA02764 for ; Fri, 20 Sep 1996 05:49:41 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id WAA16173; Fri, 20 Sep 1996 22:47:46 +1000 Date: Fri, 20 Sep 1996 22:47:46 +1000 From: Bruce Evans Message-Id: <199609201247.WAA16173@godzilla.zeta.org.au> To: asami@FreeBSD.org, freebsd-bugs@freefall.freebsd.org Subject: Re: bin/1643: Support for NetBSD in bsd.port.mk Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > * + .if (${OPSYS} == "NetBSD") > * + MD5?= /usr/bin/md5 > * + .else > * MD5?= /sbin/md5 > * + .endif > > Ok.... Not so OK. We originally used plain `md5', but changed it because people might not have /sbin in $PATH. md5 is in /sbin because it might be useful for checking security before mounting /usr. I don't like having absolute paths anywhere in the build. Perhaps this should be handled in bsd.xxx.mk as follows: .if !defined(USE_PATH_FROM_ENVIRONMENT) PATH= /sbin:/usr/sbin:/bin:/usr/bin # trusted path .export PATH # new `make' feature .endif Bruce