From nobody Wed Jan 24 16:51:15 2024 X-Original-To: dev-commits-ports-main@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 4TKqjM4dV5z58LJW; Wed, 24 Jan 2024 16:51:19 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TKqjM2hrsz4xNn; Wed, 24 Jan 2024 16:51:19 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706115079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wrbK4WIXSMVh4o7DQVrYXFyGNRA9RtQ2Gs1zg7x7jfk=; b=I0heDHA9Kbn61aaK6zybxRhb/rDYO+KVABKciUPTXiQ4JYNAhOoZ/o4ZiXVjrgK2KeB8R9 S8TttvHwjlSeQNXf+bVBvEkXZdGlDw8aHGScpHh4Ak+Bx6B30m/+mMgEP9pDMTebaL6+9o KB8QX8szAaf/IHniExaDMI5CQilAnzT1Y4SaLceqEeBT8Bpze80bA6GoXcu251tiVoQvJz k+xbztooh9RxE4QriHzc63+M9/mC3xy47GJxNTrPsXs/HZSorXw1dpXqY0EXbkvNZviv04 AOKfGuFXIl/wx1v/aCxh/0BidomqrLKtPPx0THOaN+NCB2qkCSLeWdGBV3JgDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706115079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wrbK4WIXSMVh4o7DQVrYXFyGNRA9RtQ2Gs1zg7x7jfk=; b=pJIgI1z5uDvA4zkrO6Y9b41zOeNc2iOUJcVIXStBWsuJKMWW8M0IB6+6yVj/HK/jrPYsU1 ZwwORAUDz+/BQE4LkfscXOb0RmlRxUNViCjjkTdiSuP+CFySu4s6O891uGw9MgRT8tFCoA pUapTsEeLZLNgAH8lcpVvBgdJDzmOs0Tw9ZkYT4X1HAc3G0FVsCcvnKOQ52IDon7BHoUTc dsOC6Uv0AwMJpRuPDg/X8HBoxTy10qBICsbuyu3GmLuLrFDQIOQ7zhQW8ymzSPy2mpSDAi PGwJzR9Me5VEwW4dKDJeOBaNz8iZUlBnrMro+t7CsBgaqC53fsKjMjhyq6ngrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706115079; a=rsa-sha256; cv=none; b=QClvV4Hz4fLRuzifcY7KhBa5XidweJLYvfdqPXYAUXIvEAP3HWw18eRHVCAHeCxCxwx/CV DyKU1gGJnSEJgD1Cdjo8CBSe4+q9XhJDOTR6j2PqgAH1UdbGwVWc9z4ulZfewMjyJxJ0j1 L34q+H/B7o8dY11ttzJn+ZG4BsVHALHJ/7J45njU4Nbw2Cw0sbMGICpNrHZjQqdJGxQpkh P90ewb+fRlePEzZa+hiqXx2RcUr+9hVmCK2zDX5d7qI3wRMz42/1hkwekmP9mq4/2/VY31 eIv1osalBHMXw6Pyfks5uKbfXE0qYOOLF2DUq5vznugEkGx0zJjySR7uPNIV1w== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 4A3C14D8C; Wed, 24 Jan 2024 16:51:19 +0000 (UTC) From: Jan Beich To: Stefan =?utf-8?Q?E=C3=9Fer?= Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: eecf3562b01d - main - devel/jujutsu: fix install on other targets than amd64 In-Reply-To: <202401241532.40OFWS9b081933@gitrepo.freebsd.org> ("Stefan =?utf-8?Q?E=C3=9Fer=22's?= message of "Wed, 24 Jan 2024 15:32:28 GMT") References: <202401241532.40OFWS9b081933@gitrepo.freebsd.org> Date: Wed, 24 Jan 2024 17:51:15 +0100 Message-ID: List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Stefan E=C3=9Fer writes: > I'd appreciate any hint regarding a better way to install this program > to the stage directory than the hacked do-install target I use. https://cgit.freebsd.org/ports/commit/?id=3D4eab6d126148 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271358 According to "rg -l CARGO_INSTALL_PATH" there're 30 examples in the tree. For one, in games/veloren-weekly I use the following: # XXX https://github.com/rust-lang/cargo/issues/4101 CARGO_INSTALL_PATH=3D server-cli voxygen ... do-install: # XXX [workspace.dependencies] breaks rebuild in subdirs .for f in ${CARGO_INSTALL_PATH} ${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/*/*/${PORTNAME}-$f \ ${STAGEDIR}${PREFIX}/bin .endfor > - ${INSTALL_PROGRAM} ${WRKDIR}/target/${__ARCH}/release/jj \ > + ${INSTALL_PROGRAM} ${WRKDIR}/target/*-unknown-freebsd/release/jj \ - Don't hardcode "freebsd" to avoid patching in DPorts (DragonFly) - Don't hardcode "release" as it'd break WITH_DEBUG=3D builds