pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: emacs internal conflict?



Antoine Reilles <Antoine.Reilles%loria.fr@localhost> writes:

> Hi,
>
> On Wed, Jan 17, 2007 at 11:30:32PM -0500, George Georgalis wrote:
>> ===> Installing for emacs-21.4anb7
>> ERROR: emacs-21.4anb7 conflicts with installed package(s):
>> ERROR:     emacs-nox11-21.4anb6
>> ERROR: They install the same files into the same place.
>> ERROR: Please remove conflicts first with pkg_delete(1).
>> *** Error code 1
>
> You have to install either emacs or emacs-nox, because they are
> conflicting.
> I quess you see pkgsrc trying to install emacs instead of using the
> emacs-nox you previously installed. To make sure pkgsrc uses emacs-nox
> as dependancy for all emacs related packages, you have to put in your
> /etc/mk.conf the following line:
>
> EMACS_TYPE=emacs21nox
>
> That way, installing, e.g. auxtex will not fail, auctex requiring
> emacs-nox.

It would be nice if emacs.mk had the ability to infer EMACS_TYPE from
one version of emacs being already installed, sort of like postgresql.

-- 
    Greg Troxel <gdt%ir.bbn.com@localhost>

Attachment: pgprwqVM8B2vf.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index