Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 1995 17:35:25 +0100
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        current@freebsd.org
Subject:   absolute pathnames in /usr/share/mk/bsd.*.mk
Message-ID:  <199510251635.RAA19353@localhost>

next in thread | raw e-mail | index | archive | help

Some bsd.*.mk files use absolute pathnames, eg. /bin/rm or
/usr/sbin/pkg_create. 

I use FreeBSD 2.0A and install the pkg_create from 2.1 in
/usr/local/bin. This does not work because pkg_create was hard coded
as /usr/sbin/pkg_create in bsd.port.mk. Same for the new sed(1). 

In my opinion absolute pathnames should never used.


wosch@campa <17:22:18> [~/current/src/share/mk] 698
$ for file in *.mk;do printf "%20s " $file;grep bin/ $file|wc;done|grep -v 0
          bsd.doc.mk        1       5      62
         bsd.info.mk        1       5      38
         bsd.kmod.mk        2       8      72
         bsd.port.mk       77     469    3887

Wolfram



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510251635.RAA19353>