Recent bsd.port.mk changes

Sergey Matveychuk sem at ciam.ru
Tue Apr 22 22:07:48 PDT 2003


Kris Kennaway wrote:
> You can extract the prefix from the installed package by grepping for
> @cwd in +CONTENTS.  Similarly you can extract the list of installed
> files by doing grep -v ^@ +CONTENTS.  For each package that has our
> origin (or a previous origin as looked up in the MOVED file), do the
> following: if the installed prefix == $PREFIX and one or more of the
> installed files matches a file in pkg-plist (checked using
> e.g. comm(1)), then we are going to conflict and we should not

Yes, all right. I need just to sleep more :)

> install.  I can't immediately think of how to implement the installed
> plist extraction without using a temporary file, but it should be
> possible with some thought.

It's an interesting problem. I'd like to see your decision.

-- 
Sem.



More information about the freebsd-ports mailing list