Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2024 15:32:28 GMT
From:      Stefan =?utf-8?Q?E=C3=9Fer?= <se@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: eecf3562b01d - main - devel/jujutsu: fix install on other targets than amd64
Message-ID:  <202401241532.40OFWS9b081933@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eecf3562b01d12c4e962a106bdaad4361e5b0034

commit eecf3562b01d12c4e962a106bdaad4361e5b0034
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2024-01-24 15:27:00 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2024-01-24 15:32:02 +0000

    devel/jujutsu: fix install on other targets than amd64
    
    This software uses a virtual manifest in its Cargo.toml, and it seems
    that there is no generic way to deal with such Cargo.toml files,
    unless building with direct access to the GitHub repository during the
    install phase.
    
    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.
---
 devel/jujutsu/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/devel/jujutsu/Makefile b/devel/jujutsu/Makefile
index 98dc7ef6a968..72d413fee28e 100644
--- a/devel/jujutsu/Makefile
+++ b/devel/jujutsu/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	jujutsu
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.13.0
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	se@FreeBSD.org
@@ -17,10 +18,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	martinvonz
 GH_PROJECT=	jj
 
-__ARCH=		${ARCH:S/amd64/x86_64/}-unknown-${OPSYS:tl}
-
 do-install:
-		${INSTALL_PROGRAM} ${WRKDIR}/target/${__ARCH}/release/jj \
+		${INSTALL_PROGRAM} ${WRKDIR}/target/*-unknown-freebsd/release/jj \
 			${STAGEDIR}${PREFIX}/bin/
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401241532.40OFWS9b081933>