From nobody Tue Jan 9 12:30:35 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T8VdT0FRLz57LRG; Tue, 9 Jan 2024 12:30:37 +0000 (UTC) (envelope-from mfechner@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T8VdS516Xz4tX7; Tue, 9 Jan 2024 12:30:36 +0000 (UTC) (envelope-from mfechner@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704803436; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ipTH+eh8lxcKgbOqEJb3GWXgclCyS7HEVUDakSb8rtw=; b=pcyqUjo2Z/l/giXe+iDeR2BWQgRH0II6NVk/MO72CmO1PHkMx8fKVL4CffW0BKUGZhyEUR UxzpUHGTDeCYA21b06tF79pA+pvA0WPU8JEVsIZyimiz6nl0nlbbLoboHAJDOorMfqeDcn GeDOj8iWssS9SCKEL7Lwdkf9eoQGSwucSIPUkRQL1til6ctVeuclIwAnL8p9KhRyEIQPC/ 7kPsXu2n9nYfPHBntSdKbCVcINjan2igQhxtRRkfxD55AnO/RdXeBieZ3Gs/Z7EwYbpANp 8ZaeVsp6cAZDcPAunassH0i0h/Ad3T98GiYBJhFIf43cTx3lVTpD3pHd8nsejQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704803436; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ipTH+eh8lxcKgbOqEJb3GWXgclCyS7HEVUDakSb8rtw=; b=uKpnX9ksHKrewaxb3gpvkL8hmqgLK0d972Xly7Gi2iWteNcPftsWNhXJZNY/k3D1/oGZe8 J1YAzWJwoiZ6m5KEL/xLNNnRx3aKRNeraMO2DI9Qrs9bYhBQ/dD2PPdENP0clx3C11sUuh 73OYjYWZxa/M1XNDTc26a1SaLFRubm7s/+COvp5gu/IP9gOnY0/oD9Jq/nP/lNTkKbpaKH JMQ8YLqyD4+qCzOAdCsv59TBHDvaEssoz++Xmn1xVg52VDd/dPv8ZUZrEKg4X2x/IZdquT 8bjZvXnO37pdByDUB1agIv1LsvsamxfWC33wIDrtOK1r2IF1RNSQIO/ID+fBpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704803436; a=rsa-sha256; cv=none; b=SotwYWHDWACEI1CP06NtiO0KPi4FWcQEfHMz0IgsI6Q9zecYDx/MBbCBI3mgQ5V3wEdt8V mfkjH19UVLFwO8wXgh5RNySGBaQZF3aYFbPZkFWKM4BUNZKDmDHfTjlV5LSl4cXbcM2hlc itIgwevaIIX3NPZweMNtWfJumlzVaVFXzXAyBJIHa4OBLgSzmIDODc8s1jAQXtWvQVAbvJ jlOMc7rV04xDhG0CVDvRFkgBpaVhliqWne1DUN9UbcQlm/4KNWNM4I5Y2BlQHh7sM2aOz2 vF3bDP96i+tAV/QE2xPFO8H0360EbPyAE3VfyzLb/TAQ0HNtJyteIfdyhdxvEg== Received: from [192.168.0.151] (unknown [212.108.138.102]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mfechner) by smtp.freebsd.org (Postfix) with ESMTPSA id 4T8VdR5r5RzMvW; Tue, 9 Jan 2024 12:30:35 +0000 (UTC) (envelope-from mfechner@freebsd.org) Message-ID: <08435af5-3933-411c-bbcd-950f6ef4196b@freebsd.org> Date: Tue, 9 Jan 2024 14:30:35 +0200 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: git: 606b37bbf06d - main - Mk/Uses: make it possible to compile gems that need rust to build Content-Language: en-US From: Matthias Fechner To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org References: <202401091213.409CD7Nm007521@gitrepo.freebsd.org> In-Reply-To: <202401091213.409CD7Nm007521@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 > AuthorDate: 2024-01-09 12:04:24 +0000 > Commit: Matthias Fechner > 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