Date: Fri, 20 Sep 1996 22:47:46 +1000 From: Bruce Evans <bde@zeta.org.au> To: asami@FreeBSD.org, freebsd-bugs@freefall.freebsd.org Subject: Re: bin/1643: Support for NetBSD in bsd.port.mk Message-ID: <199609201247.WAA16173@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> * + .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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609201247.WAA16173>