Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2024 14:30:35 +0200
From:      Matthias Fechner <mfechner@freebsd.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 606b37bbf06d - main - Mk/Uses: make it possible to compile gems that need rust to build
Message-ID:  <08435af5-3933-411c-bbcd-950f6ef4196b@freebsd.org>
In-Reply-To: <202401091213.409CD7Nm007521@gitrepo.freebsd.org>
References:  <202401091213.409CD7Nm007521@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 09.01.2024 um 14:13 schrieb Matthias Fechner:
> The branch main has been updated by mfechner:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=606b37bbf06dcdfb54480aae8fb69135c06fb11a
>
> commit 606b37bbf06dcdfb54480aae8fb69135c06fb11a
> Author:     Matthias Fechner <mfechner@FreeBSD.org>
> AuthorDate: 2024-01-09 12:04:24 +0000
> Commit:     Matthias Fechner <mfechner@FreeBSD.org>
> CommitDate: 2024-01-09 12:12:47 +0000
>
>      Mk/Uses: make it possible to compile gems that need rust to build
>      
>      This commits defines same variables in a way that they can be overwritten
>      by a port.
>      Refactored the extract target to work together with cargo.mk.
>      
>      The gem.mk file will require more work to be easily usable for gems that
>      required rust. Most of the work is now outsourced to the port.
>      
>      I added comments to parts that needs more love.
>      
>      To test these modification, the following commands can be used:
>      (make sure you adjust the path to match your environment)
>      rm /usr/local/poudriere/ports/gitlab/distfiles/rubygem/gapic-common-*.gem
>      rm /usr/local/poudriere/ports/gitlab/distfiles/rubygem/prome*.gem
>      rm /usr/local/poudriere/ports/gitlab/distfiles/rust/crates/ahash-*crate
>      /usr/local/poudriere/ports/gitlab/distfiles/*.gem
>      cd /usr/local/poudriere/ports/gitlab/devel/rubygem-prometheus-client-mmap
>      make makesum
git removed here:

# check distfiles

>      cd /usr/local/poudriere/ports/gitlab/devel/rubygem-gapic-common
>      make makesum
>      poudriere testport -p gitlab -j 132amd64 devel/rubygem-gapic-common && poudriere testport -p gitlab -j 132amd64 devel/rubygem-prometheus-client-mmap

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08435af5-3933-411c-bbcd-950f6ef4196b>