Is it safe to compile multiple ports at the same time ?

Fernan Aguero fernan at iib.unsam.edu.ar
Wed May 17 12:14:01 UTC 2006


+----[ Edwin Groothuis <edwin at mavetju.org> (17.May.2006 03:16):
|
| You have to obtain a lock on the X's Makefile before you are doing
| to check if you have this port installed.
| 
| For example, a dependcy on pkg-config in the directory devel/pkgconfig:
| 
| - obtain lock on devel/pkgconfig/Makefile
| - check if pkg-config exists, and if not, build and install it.
| - release lock on devel/pkgconfig/Makefile
| 
|
+----]

Why not

- check if pkg-config exists and only if it doesn't exist,
  try to obtain lock on the lock target.

Fernan


More information about the freebsd-ports mailing list