Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 23:48:57 +0100
From:      John Marino <freebsd.contact@marino.st>
To:        Antoine Brodin <antoine@FreeBSD.org>,  John Marino <marino@freebsd.org>
Cc:        "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org>
Subject:   Re: svn commit: r349288 - head/archivers/ocaml-bz2
Message-ID:  <53335959.4050802@marino.st>
In-Reply-To: <CAALwa8m=PCY=5pD7rO0y4SBXwepWZJ5sh3Rw=w=Wr0Y3Ctt2FA@mail.gmail.com>
References:  <201403262018.s2QKId7b067131@svn.freebsd.org>	<533351FC.2020908@marino.st>	<CAALwa8khMDfYPetqQ1kivx7g2wCqjezj9RYoZvH22GDjobfuxw@mail.gmail.com>	<533357E0.2030108@marino.st> <CAALwa8m=PCY=5pD7rO0y4SBXwepWZJ5sh3Rw=w=Wr0Y3Ctt2FA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/26/2014 23:45, Antoine Brodin wrote:
> On Wed, Mar 26, 2014 at 11:42 PM, John Marino <freebsd.contact@marino.st> wrote:
>> On 3/26/2014 23:26, Antoine Brodin wrote:
>>> On Wed, Mar 26, 2014 at 11:17 PM, John Marino <freebsd.contact@marino.st> wrote:
>>>> On 3/26/2014 21:18, Antoine Brodin wrote:
>>>>> Author: antoine
>>>>> Date: Wed Mar 26 20:18:38 2014
>>>>> New Revision: 349288
>>>>> URL: http://svnweb.freebsd.org/changeset/ports/349288
>>>>> QAT: https://qat.redports.org/buildarchive/r349288/
>>>>>
>>>>> Log:
>>>>>   Stage support
>>>>>
>>>>> Modified:
>>>>>   head/archivers/ocaml-bz2/Makefile
>>>>>
>>>>> Modified: head/archivers/ocaml-bz2/Makefile
>>>>> ==============================================================================
>>>>> --- head/archivers/ocaml-bz2/Makefile Wed Mar 26 20:09:29 2014        (r349287)
>>>>> +++ head/archivers/ocaml-bz2/Makefile Wed Mar 26 20:18:38 2014        (r349288)
>>>>> @@ -12,10 +12,9 @@ DISTNAME=  caml${PORTNAME}-${PORTVERSION}
>>>>>  MAINTAINER=  jaapb@kerguelen.org
>>>>>  COMMENT=     OCaml library to manipulate bz2 files
>>>>>
>>>>> +DESTDIRNAME= DONTUSEIT
>>>>>  GNU_CONFIGURE=       yes
>>>>>  USES=                gmake
>>>>> -NO_STAGE=    yes
>>>>> -
>>>>
>>>> You left USE_OCAML_LDCONFIG=     yes.
>>>> Won't this create an ldconf file that will get added to plist and will
>>>> conflict potentially with the real ldconf?
>>>>
>>>> USE_OCAML_WASH is also set.  Is this knob actually desireable?  Why is
>>>> it needed if it's competing with pkg to remove files?
>>>>
>>>> I'm not saying I'm right, I'm just trying to learn this.
>>>
>>>
>>> Hi,
>>>
>>> I modifed bsd.ocaml.mk so now USE_OCAML_LDCONFIG doesn't violate
>>> stagedir anymore.
>>>
>>> For USE_OCAML_WASH,  I have doubts on its usefulness, maybe it should
>>> be garbage collected in all the tree.
>>
>> Hi Antoine,
>> I suspect that ldconf modifications have to happen at a post-install
>> step after the package is extracted.  This probably needs rework and
>> somebody to figure it out.
>>
>> If you aren't packaging ldconf, then it's not doing anything (which
>> means its not conflicting either, but there's no point to it)
> 
> 
> It adds this to plist:
>         @${ECHO_CMD} "@exec ${ECHO_CMD} "%D/${LIB}" >> %D/${OCAML_LDCONF}" \
>         @${ECHO_CMD} "@unexec ${SED} -i \"\" -e '/${LIB:S#/#\/#g}/d'
> %D/${OCAML_LDCONF}"  >> ${TMPPLIST}


So I think that must be wrong.
There should only be one ldconf file -- it stores information of all the
installed libraries.  There would not be one per package.  I say this as
somebody that does not use ocaml or know anything about it though.

John



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