Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2006 09:13:37 -0300
From:      Fernan Aguero <fernan@iib.unsam.edu.ar>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        ports@freebsd.org, Vasil Dimov <vd@freebsd.org>, Paul Koch <paul.koch@statseeker.com>
Subject:   Re: Is it safe to compile multiple ports at the same time ?
Message-ID:  <20060517121337.GA50791@iib.unsam.edu.ar>
In-Reply-To: <20060517061302.GR1116@k7.mavetju>
References:  <200605171353.37745.paul.koch@statseeker.com> <20060517045403.GI1113@k7.mavetju> <200605171508.07228.paul.koch@statseeker.com> <20060517060026.GA40653@qlovarnika.bg.datamax> <20060517061302.GR1116@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
+----[ Edwin Groothuis <edwin@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



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