diff options
author | rillig <rillig> | 2006-08-04 20:52:27 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-08-04 20:52:27 +0000 |
commit | 550abd2a78c593d6a8ed587a5c9f028931b4d494 (patch) | |
tree | c6403946f8ea93813813b4b26d0a6531fa3c42b7 /converters/ruby-romkan | |
parent | a95fe13737f6da1037cec739400eb4d331dd36d1 (diff) | |
download | pkgsrc-550abd2a78c593d6a8ed587a5c9f028931b4d494.tar.gz |
Fixed the locking, as suggested by Johnny on the tech-pkg mailing list.
Added two targets acquire-localbase-lock and release-localbase-lock,
which mark the complete LOCALBASE directory as locked, so that multiple
packages cannot run the install, deinstall or bin-install targets at the
same time.
The install target aquires locks in both WRKSRC and LOCALBASE, the other
two targets only need the LOCALBASE lock, since they may be run without
WRKSRC being present on the system.
locking.mk must be included before tools.mk and the PKG_FAIL_REASON
check.
Diffstat (limited to 'converters/ruby-romkan')
0 files changed, 0 insertions, 0 deletions