Date: Sat, 16 Jan 2010 13:58:57 -0500 From: Greg Larkin <glarkin@FreeBSD.org> To: "b. f." <bf1783@googlemail.com> Cc: freebsd-questions@FreeBSD.org, portmgr@FreeBSD.org Subject: Re: Dislike the way port conflicts are handled now Message-ID: <4B520C71.9080301@FreeBSD.org> In-Reply-To: <d873d5be1001161001i5d398205hea3d2ec1978ee3f@mail.gmail.com> References: <d873d5be1001161001i5d398205hea3d2ec1978ee3f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
b. f. wrote:
>>> Since some folks like the old behavior and some folks like the new
>>> behavior, what do you all think of a user-selectable make.conf option to
>>> choose where the check-conflicts target appears in the port build sequence?
>>>
>>> Regards,
>>> Greg
>>>
>
>> I'd love that. The new behavior isn't a bad default, but it needs an
>> override.
>
>> Wait a minute; rewind. Isn't that what "make -DDISABLE_CONFLICTS" does?
>
> I believe that he is talking about changing _when_ the check for
> conflicts is made; whereas DISABLE_CONFLICTS ignores the check,
> regardless of when it is made. A late check is preferable to using
> DISABLE_CONFLICTS, because with that knob you can shoot yourself in
> the foot by mistakenly installing one port on top of another.
>
>
> b.
That's exactly what I proposed. The bsd.port.mk could be patched to
support a new variable ("EARLY_CONFLICT_CHECK=yes" or somesuch) that
shifts the check-conflict target from its old position (part of the
install sequence) to its new position (fetch?).
The default behavior (no mods to /etc/make.conf) would revert to the old
conflict checking method. This may be something for portmgr@ to chime
in on, and I'm cc'ing them now. There could be other reasons for this
change that I'm unaware of.
References for portmgr:
http://www.freebsd.org/cgi/query-pr.cgi?pr=137855
- PR to change check-conflicts target position in bsd.port.mk
http://www.mail-archive.com/freebsd-questions@freebsd.org/msg227363.html
- the thread archive
Regards,
Greg
- --
Greg Larkin
http://www.FreeBSD.org/ - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFLUgxx0sRouByUApARAqQBAJ9EYQlAe7gJpFasl3NmPlg8v4U3jQCfae1V
dkSJqw520Z9DJQe0fIhGzkc=
=2sdF
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B520C71.9080301>
