pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/lang/rust



Hi,

"Jonathan A. Kollasch" <jakllsch%kollasch.net@localhost> writes:

> On Mon, Mar 31, 2025 at 04:10:19PM +0000, Ryo ONODERA wrote:
>> Module Name: pkgsrc
>> Committed By:        ryoon
>> Date:                Mon Mar 31 16:10:19 UTC 2025
>> 
>> Modified Files:
>>      pkgsrc/lang/rust: rust.mk
>> 
>> Log Message:
>> lang/rust: pkg-build-options.mk must not be included in non-buildlink3.mk
>> 
>> * Fix build of security/py-cryptography, for example.
>> 
>> 
>> To generate a diff of this commit:
>> cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/rust/rust.mk
>> 
>
> You can't remove pkg-build-options.mk and leave PKG_BUILD_OPTIONS.

Does your rust.mk of rev. 1.12 really work for you?
Including pkg-build-options.mk from non-buildlink3.mk does not work.

If you include pkg-build-options.mk from lang/rust/rust.mk,
you will get
PKG_FAIL_REASON="[pkg-build-options.mk] This file may only be included from a buildlink3.mk file (pkgbase=rust)."
and builds of any consumers of lang/rust/rust.mk will fail.

Thank you.

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3



Home | Main Index | Thread Index | Old Index