Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2017 16:05:48 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        Baptiste Daroussin <bapt@FreeBSD.org>, ports@FreeBSD.org, Koop Mast <kwm@FreeBSD.org>, arch@FreeBSD.org, portmgr@FreeBSD.org
Subject:   Re: manpath change for ports ?
Message-ID:  <20170421160548.634ec1bb@kalimero.tijl.coosemans.org>
In-Reply-To: <ef3b557f-7798-5b57-7c31-26b84d5fa8af@FreeBSD.org>
References:  <20170306235610.cmpxk27jhoafel6l@ivaldir.net> <1492723094.55896.22.camel@FreeBSD.org> <20170420212153.cawvn4xsxuwuebfu@ivaldir.net> <dee320db-98d5-177c-839f-68225e56a1ae@FreeBSD.org> <20170420221631.yxukhuwo4tn7blte@ivaldir.net> <ef3b557f-7798-5b57-7c31-26b84d5fa8af@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Apr 2017 00:18:53 +0200 Mathieu Arnold <mat@FreeBSD.org> wrote:
> Le 21/04/2017 =C3=A0 00:16, Baptiste Daroussin a =C3=A9crit:
>> On Fri, Apr 21, 2017 at 12:13:52AM +0200, Mathieu Arnold wrote:
>>> I am waiting on an exp-run to fix this once and for all.
>>>
>>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218067
>>>
>>> When that is committed, anything can be added to the path pkgconfig
>>> searches, ports will always install it in the right place.
>>
>> Sorry but why? why not moving libdata/pkgconfig to lib/pkgconfig? what
>> is the rationale?
>
> Because a lot of build software know that on FreeBSD, the .pc file go
> in libdata/pkgconfig. If we move to some other place, we'll have a
> USES=3Dpathfixmore for the next 25 years until everyone understands we
> moved it some place else.

1. It's not a lot.  Certainly the amount of software that does not know
   about libdata is way bigger.
2. You don't need USES=3Dpathfixmore, you just change the fixup target
   in your patch to move files in the other direction.  This fixup can
   then be removed in 25 years (less if you let it print a warning)
   while your fixup will have to be kept forever.
3. Proper porting of emulators/wine to amd64 requires building 32 bit
   versions of dependencies.  Their pkgconfig files would go to
   lib32/pkgconfig when configured with --libdir=3D${PREFIX}/lib32 while
   something like libdata/pkgconfig32 would require yet more patches
   and fixups.

Any difference from Linux makes porting work harder, so there should be
good reasons and there are none whatsoever to use libdata/pkgconfig over
lib/pkgconfig.  I really don't get why portmgr keeps blocking this
change every time it comes up in the past few years.



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