Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2015 20:54:12 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Matthieu Volat <mazhe@alkumuna.eu>
Cc:        ports@FreeBSD.org
Subject:   Re: [HEADSUP] portmaster/portupgrade support for new features
Message-ID:  <20150824185412.GJ93486@ivaldir.etoilebsd.net>
In-Reply-To: <20150824192710.08c77060@freedom>
References:  <20150629092226.GL68142@ivaldir.etoilebsd.net> <20150824135802.GF93486@ivaldir.etoilebsd.net> <20150824192710.08c77060@freedom>

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

--CxDuMX1Cv2n9FQfo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 24, 2015 at 07:27:10PM +0200, Matthieu Volat wrote:
> On Mon, 24 Aug 2015 15:58:02 +0200
> Baptiste Daroussin <bapt@FreeBSD.org> wrote:
>=20
> > On Mon, Jun 29, 2015 at 11:22:27AM +0200, Baptiste Daroussin wrote:
> > > hi all,
> > >=20
> > > A couple of new features are coming to the ports tree. The first of w=
hich has
> > > landed in the ports tree and should not be used before a while, still=
 before we
> > > start using it, it would be a very good idea to bring support for it =
to
> > > portmaster/portupgrade. (I have already done the change in poudriere =
and it will
> > > be in te next version.)
> > >=20
> > > So since recently we can remove the ${PORTSDIR} from all the dependen=
cy lines.
> > > (Please do not use that syntax before all the tools are able to handl=
e it!)
> > >=20
> > > Aka BLA_DEPENDS=3D pattern:${PORTSDIR}/category/port can now become
> > > pattern:category/ports
> > >=20
> > > I haven't checked portmaster/portupgrade code so I have no idea if th=
ey will
> > > support that out of box or if they will need some changes.
> > >=20
> > > I would really appreciate to see people testing that and provide patc=
hes if
> > > necessary so that the day we adopt this syntax those tools are alread=
y ready to
> > > use it ootb.
> > >=20
> > > FYI: https://github.com/freebsd/portmaster and
> > > https://github.com/freebsd/portupgrade
> > >=20
> > > Later more changes will be necessary to support upcoming VARIANTS (fo=
rmerly
> > > known as FLAVOURS) and sub packages.
> > >=20
> > > This first step would allow you to step into the code of those tools =
before the
> > > having to deal with more intrusive changes :)
> > >=20
> > > Best regards,
> > > Bapt
> >=20
> > Here is a reminder on help needed. We do really need to get this featur=
e in the
> > ports tree to be able to step further in flexible dependencies (hear
> > provides/requires) and VARIANTS/FLAVORS and subpackages.
> >=20
> > If one cares about those tools, please make them work without ${PORTSDI=
R}
> > information.
> >=20
> > Best regards,
> > Bapt
>=20
> Hello,
>=20
> Are those features already present somehow in ports?
>=20
> The first thing I see is a failure because calling commands
> such as "make build-depends-list" in port directories in which I
> removed ${PORTSDIR} from LIB_DEPENDS failing.
>=20
No not yet because we are writing for portmaster/portupgrade to handle that=
 to
commit them. How ever I can provide a patch so anyone willing to work on th=
at
will be able to test.

Best regards,
Bapt

--CxDuMX1Cv2n9FQfo
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlXbaFQACgkQ8kTtMUmk6EzLQwCdHl8woP7OZbK3eGks3cs8ABDU
HZcAn3InLaGo7umlo32nh6T0ldkKW1XM
=UAe2
-----END PGP SIGNATURE-----

--CxDuMX1Cv2n9FQfo--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150824185412.GJ93486>