RUN_DEPENDS and portmaster

Mathieu Arnold mat at FreeBSD.org
Mon Sep 10 10:16:57 UTC 2018


On Mon, Sep 10, 2018 at 06:54:19AM +0200, Matthias Fechner wrote:
> Dear all,
> 
> I have a questions reagarding the RUN_DEPENDS and at which step
> dependencies should be installed.

Reading Mk/bsd.port.mk at line 5274, run-depends are installed before
do-install runs.

> I'm the maintainer of gitlab-ce port and I added a feature that checks
> in the install target:
> do-install:
>         (cd ${WRKSRC} && ${RM} Gemfile.lock && bundle install --local)
>         ${FIND} ${WRKSRC} -name '*.orig' -delete
> ...
> 
> that all gems available in the system do match the version required by
> the Gemfile.
> Poudriere works fine with this, but portmaster fails.
> Regarding the documentation RUN_DEPENDS packages should be installed
> before the install is happening.
> Is this install related to the do-install target or the installation of
> the package itself?
> 
> Is this maybe a problem with portmaster as poudiere handles this correctly?

It's probably a problem with portmaster not doing clean builds.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20180910/9740f03b/attachment.sig>


More information about the freebsd-ports mailing list