Subject: Re: emacs internal conflict?
To: None <pkgsrc-users@netbsd.org>
From: Antoine Reilles <Antoine.Reilles@loria.fr>
List: pkgsrc-users
Date: 01/18/2007 15:33:22
--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 18, 2007 at 09:06:43AM -0500, Greg Troxel wrote:
>=20
> Antoine Reilles <Antoine.Reilles@loria.fr> writes:
>=20
> > Hi,
> >
> > On Wed, Jan 17, 2007 at 11:30:32PM -0500, George Georgalis wrote:
> >> =3D=3D=3D> 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=3Demacs21nox
> >
> > That way, installing, e.g. auxtex will not fail, auctex requiring
> > emacs-nox.
>=20
> 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.

AFAIK, it was explicitly removed, to make builds more deterministic:
there is a default dependency, and if you would like to change it, you
have to say that in /etc/mk.conf
This scheme was taken also for latex.mk and others, and help a lot
finding problems, usually.

antoine


--tThc/1wpZn/ma/RB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFr4Ux4VqmoGDE/mwRAvg7AJ9nvQ2IeRRCSc2vA4aYwBUHaVirEgCeNzM6
KicEjeOMM3j4C7zEuu6nXa8=
=wBTV
-----END PGP SIGNATURE-----

--tThc/1wpZn/ma/RB--