The FreeBSD Diary |
![]() |
(TM) | Providing practical examples since 1998 |
|
Building a port - background info on make
4 October 1998
|
|
|
|
|
|
A bit about make
|
|
| One of the best features of the make process is the fetch process.
If the files it needs cannot be found, make will go and fetch the file for you. It
searches a list of file locations and uses the first location which succeeds. If you examine /usr/share/mk/bsd.port.mk, you'll find that it modifies the URL search path and adds file:/crdom/ports/distfiles. This tells the make process to search your CDROM. If the device is not mounted, the fetch will fail and the search process continues with the next location in the list. It is because of this search process that the following should be enough to build your port:
|
|