Received: by mail.netbsd.org (Postfix, from userid 605) id 4193984D25; Fri, 18 Jun 2021 10:44:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7D71984E36 for ; Fri, 18 Jun 2021 10:44:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id MkGGc6Cg8t6L for ; Fri, 18 Jun 2021 10:44:30 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id D55EB84D25 for ; Fri, 18 Jun 2021 10:44:29 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C9344FA95; Fri, 18 Jun 2021 10:44:29 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_16240130695530" MIME-Version: 1.0 Date: Fri, 18 Jun 2021 10:44:29 +0000 From: "Tobias Nygren" Subject: CVS commit: pkgsrc/sysutils/macchina To: pkgsrc-changes@NetBSD.org Reply-To: tnn@netbsd.org X-Mailer: log_accum Message-Id: <20210618104429.C9344FA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_16240130695530 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: tnn Date: Fri Jun 18 10:44:29 UTC 2021 Modified Files: pkgsrc/sysutils/macchina: Makefile Log Message: macchina: fix build on aarch64 The rust toolchain emits unusable R_AARCH64_ADR_PREL_PG_HI21 relocations with rust's default -pie setting, so BUILDLINK_TRANSFORM it to -fPIC. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 pkgsrc/sysutils/macchina/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_16240130695530 Content-Disposition: inline Content-Length: 852 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/sysutils/macchina/Makefile diff -u pkgsrc/sysutils/macchina/Makefile:1.25 pkgsrc/sysutils/macchina/Makefile:1.26 --- pkgsrc/sysutils/macchina/Makefile:1.25 Tue Jun 8 10:21:55 2021 +++ pkgsrc/sysutils/macchina/Makefile Fri Jun 18 10:44:29 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2021/06/08 10:21:55 pin Exp $ +# $NetBSD: Makefile,v 1.26 2021/06/18 10:44:29 tnn Exp $ DISTNAME= macchina-0.9.2 CATEGORIES= sysutils @@ -23,6 +23,8 @@ RUSTFLAGS+= -C link-arg=${COMPILER_RPATH RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libXau}/lib MAKE_ENV+= RUSTFLAGS=${RUSTFLAGS:Q} +BUILDLINK_TRANSFORM+= opt:-pie:-fPIC + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/target/release/macchina ${DESTDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/macchina.toml ${DESTDIR}${PREFIX}/share/examples/macchina --_----------=_16240130695530--