Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2004 22:44:34 +0200
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        Thomas-Martin Seck <tmseck-lists@netcologne.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: CONFLICTS usage question
Message-ID:  <4E5BA166-C168-11D8-9250-00039312D914@fillmore-labs.com>
In-Reply-To: <20040618203027.GA12950@laurel.tmseck.homedns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Am Freitag den, 18. Juni 2004, um 22:30, schrieb Thomas-Martin Seck:

> * Oliver Eikemeier (eikemeier@fillmore-labs.com):
>
>> Thomas-Martin Seck wrote:
>
> [port (deliberately) CONFLICTS with itself]

??? Of course bugs like that won't hinder a port to install.

>>>> No. You will break installation with FORCE_PKG_REGISTER=yes.
>>>
>>> What about "-DFORCE_PKG_REGISTER -DDISABLE_CONFLICTS"?
>>
>> This disables the checks for already installed packages *and*
>> for conflicting packages, which are disjoint sets. You can
>> use this to repair files overwritten by a conflicting port
>> (of course damaging the other port in the process).
>
> Maybe, but one /can/ forcibly reinstall a self-conflicting port with
> FORCE_PKG_REGISTER and DISABLE_CONFLICTS if one is determined to do so.

Yep. You won't notice when you damage other ports, (which you will
when you do not use DISABLE_CONFLICTS), but you can do it that way.

Anyway, read bsd.port.mk if you want to see other uses of 
FORCE_PKG_REGISTER
and why conflicting with itself is a relly bad idea. CONFLICTS and
FORCE_PKG_REGISTER deal with different topics.

> As an interesting side note: it is amazing how many ports install a
> ${PREFIX}/etc/leapsecs.dat. Where are CONFLICTS when you need them :(

Which ports are you referring to?

-Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E5BA166-C168-11D8-9250-00039312D914>