svn commit: r334593 - in head/dns: bind96 bind96/files bind98 bind98/files bind99 bind99/files

Baptiste Daroussin bapt at FreeBSD.org
Tue Nov 26 08:40:04 UTC 2013


On Tue, Nov 26, 2013 at 07:51:22AM +0000, Alexey Dokuchaev wrote:
> On Tue, Nov 26, 2013 at 08:38:52AM +0100, Baptiste Daroussin wrote:
> > On Tue, Nov 26, 2013 at 03:53:39AM +0000, Alexey Dokuchaev wrote:
> > > Given that OSVERSION is used extensively in the tree, I'm worrying that
> > > adding these extra "${OPSYS} == FreeBSD" checks will our makefiles less
> > > readable.  Wouldn't it make more sense to place this check somewhere in
> > > single place, and define whatever OSVERSION that looks reasonable when
> > > OPSYS == FreeBSD instead of patching every port?
> > 
> > except that lots/most of the osversion checking in the ports tree is also
> > wrong and was due to a design bug of pointyhat/tinderbox, pointyhat is gone,
> > and tinderbox had been fixed. there is no need anymore for most of them
> > which also are often wrong given the flexibility we have with buildworld.
> > 
> > I do plan to remove most of the useless osversion.
> 
> Yup, I remember this was discussed on IRC a few times.  I'm only looking
> forward to it.  However, introducing "${OPSYS} == FreeBSD" checks in, uhm,
> *FreeBSD* ports collection looks bogus to me.  If <whatever>BSD wants to
> make use of it, fine, but please let's keep their little hacks outside of
> FreeBSD ports. :)
> 
> ./danfe

We need to be friendly with other OS if they want to use the ports tree like
Dragonfly does. and I disagree to let their little hacks outside of the ports
tree.

Their little hacks often shows a deficiency of the port system! for example the
little hack dragonfly had about config.guess/config.sub showed me that we have
never upstream our patches to it and we were using a really really old version,
this is one of the reason why most of the autotooled software does not behave
the same when built inside and outside of the ports tree.

Tricky no? but instead of fixing and upstreaming we have prefered yelling at
autotools. (We right know have the same kind of problems with libtool)

Their "little hacks" revealed a lot, let allow them to bring it into the
"FreeBSD" ports tree!

OSVERSION means nothing outside of OSTYPE, and btw OSVERSION is also killing the
dozens of vendor that keep an old version of freebsd but backporting new things
into it! or using a newer version of freebsd but lying on the version to please
the management, or version using "vanilla" freebsd but naming it another name or
another version.

Last thing is their "little hacks" allows me to discover lots of
defficiencies about our toolchain and friends, in particular how we handle it
inside the ports tree, this has driven me to the right direction (I hope :)) to
allow cross building. and OSVERSION is killing me with cross building btw :)

My 2cts on the subject.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20131126/3c9cba28/attachment.sig>


More information about the svn-ports-all mailing list