Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2017 16:07:35 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: why a persistent GCC GCC49 conflict?
Message-ID:  <c28b8cc2-1ac8-c325-a857-e3a95cf31b4d@FreeBSD.org>
In-Reply-To: <99B54C6F-FC87-4533-BCE2-AC684E97F958@FreeBSD.org>
References:  <1984108068.197071.1484891142329.ref@mail.yahoo.com> <1984108068.197071.1484891142329@mail.yahoo.com> <99B54C6F-FC87-4533-BCE2-AC684E97F958@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--tOMrFoLUA4gDWXOnuoEoH4SvOd52lOAuv
Content-Type: multipart/mixed; boundary="hhmipb1t3dk4b8BcnlEPuhPWatPo5d83k";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-ports@freebsd.org
Message-ID: <c28b8cc2-1ac8-c325-a857-e3a95cf31b4d@FreeBSD.org>
Subject: Re: why a persistent GCC GCC49 conflict?
References: <1984108068.197071.1484891142329.ref@mail.yahoo.com>
 <1984108068.197071.1484891142329@mail.yahoo.com>
 <99B54C6F-FC87-4533-BCE2-AC684E97F958@FreeBSD.org>
In-Reply-To: <99B54C6F-FC87-4533-BCE2-AC684E97F958@FreeBSD.org>

--hhmipb1t3dk4b8BcnlEPuhPWatPo5d83k
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2017/01/20 15:23, Dimitry Andric wrote:
> I don't know why pkg can't see this as a direct replacement.  Perhaps
> pkg does not have support for such metadata.
>=20

If there's an entry in ${PORTSDIR}/MOVED saying that lang/gcc49 was
changed to lang/gcc then pkg(8) should replace lang/gcc49 with lang/gcc
for you without trashing anything that depended on lang/gcc49

In more general terms, this is an effect of the strict package+version
dependencies that get baked into packages when they are created.  This
needs a mechanism in pkg(8) for specifying alternate dependencies and
allowed ranges of versions.  Plus tooling in ports to add all this info
to port makefiles and have it included in the generated packages.

	Cheers,

	Matthew



--hhmipb1t3dk4b8BcnlEPuhPWatPo5d83k--

--tOMrFoLUA4gDWXOnuoEoH4SvOd52lOAuv
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQJ8BAEBCgBmBQJYgjXNXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnUPgP/3JSa/sGP5/gXTHkcnzDgHXh
Wnke+O2Q6hWYtGXVcJVaoy8bB1UiOevaJ0Kja8N3xwEXqBg7GTMPkXWMtEelpCtX
MWSe7Rvk04Q4kFXsLUks0meSX/YW4R82EEwEIBmWNnr9wXF4ZI0szklEcw6G1/k/
3bu/b8Ftmg97R1Ji34lzharLwWZ12j+CEKzhMBPiEoTTBXLav08SpwhdghBxVh6y
qnEGsD+iCsOqMAYMqHHS5ic/2MVD6A4oJ9E/bXjLTIMRl1n8HFIfDTz3qwygZeX7
kG/HRProEqeUw406/YThYSQwQsPvAPGcUlgl3trupxXOB60Pbs4Z5mkw+iWm4+KW
bl2t+XcpVblcw/55DG4lwU1wz2Q+ORcGFXRWt/EUgLiZ53fuHq8P6HII/prV36q5
flRLp5dpQvoE/l9P7Xp5nmJYT4ef8SIEg+aJK4wArn3ta/2IJYUZCIU+551ieKfS
NTgofCXuKFGJfAV+5WneaMOEslDDzAa89Z7tdPXxyUDEIdE28WQPNoTBHud0QUZQ
VOh+XKxuR8GzbhPOXH1TSNwtAYiy0gEZ4uUoJYOgO7FTGAhY7J0JyGliY7UzdOaR
RuH8sRRrisBjTIcIT/yLhkKo334deGrZlk3N5o9Cz85Pi3dAkGjBDSGJT4E5voqr
muPd9250RSRxmqhbZiwI
=u+Zq
-----END PGP SIGNATURE-----

--tOMrFoLUA4gDWXOnuoEoH4SvOd52lOAuv--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c28b8cc2-1ac8-c325-a857-e3a95cf31b4d>