Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2018 12:03:49 +0200
From:      Stefan Esser <se@freebsd.org>
To:        Matthias Fechner <idefix@fechner.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: RUN_DEPENDS and portmaster
Message-ID:  <afe1e6e1-52b4-5695-b9f8-52f6746b3398@freebsd.org>
In-Reply-To: <e1fb537a-1ee2-6409-2082-e1a11de04bc2@fechner.net>
References:  <03c14234-538d-fd9f-0c33-22825f3ea91d@fechner.net> <7ccc8168-fa3b-9872-dc5a-13a9b394d5c2@freebsd.org> <e1fb537a-1ee2-6409-2082-e1a11de04bc2@fechner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 12.09.18 um 07:58 schrieb Matthias Fechner:
> Dear Stefan, Dear Mathieu,
> 
> Am 10.09.18 um 14:10 schrieb Stefan Esser:
>> This is a design decision in portmaster that has existed for at least
>> a decade.
>>
>> Use INSTALL_DEPENDS if you depend on a port being available and upgraded
>> before your port's do-install is invoked.
>>
>> Changing the current portmaster version in ports is no option, since it
>> does not offer to recursively upgrade or install any other port while
>> working on some port and it cannot easily be made to support such a
>> sequence of actions.
> 
> thanks a lot for your explanation, so it seems to be a problem with
> portmaster.
> But as I do not want to block all users from using gitlab-ce that are
> using portmaster I think it is ok to define all RUN_DEPENDS also as
> BUILD_DEPENDS?

Yes, adding them to BUILD_DEPENDS will cause all those ports to be built
and installed by portmaster before the port that executes those tests.

I had thought there also was INSTALL_DEPENDS, but now I see that in fact
there only is INSTALLS_DEPENDS, which is used internally in bsd.port.mk.

So, BUILD_DEPENDS is the variable to use in that case.

Regards, STefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?afe1e6e1-52b4-5695-b9f8-52f6746b3398>