From nobody Sun Dec 25 22:15:05 2022 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 4NgFbF62Blz1J1dS; Sun, 25 Dec 2022 22:15:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NgFbF5F5vz47SW; Sun, 25 Dec 2022 22:15:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672006505; 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; bh=k7SAn5JMRpXSCQe7WhWkysdyf1klcngNqwl5OoopOn8=; b=Lzx+6DOFIvB6EDIeL1eoMCra0FSEbtgKLXpKnVYn82u5n+QLrQRFUJRXE+9E6nQ22E01Zg IjDERDT5mKrVwB31FAtlKdWArVuDrVGA29ZOZnJ0oxkfqdqbD0qdfS/ZP9sycNtxbRr5Ym 9ipC0ixMXoOVKrtagmwm/MEkRZ5e4kTopTZZnSf7t+NP05oKbUvbxf+ef/60AVdJAeOpdD EdS2axtQ2hWCQqnKbV7wZJZoYsrgRMmYho/eP2wwl2pcCgTTM7pw+HkpJjpp9d2o7bytYN LROjB/edOZARsUixgOIN4Eg7s7eVecA3ep4bRoM+S+YkmNXRpCld3mDdZLdUhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672006505; 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; bh=k7SAn5JMRpXSCQe7WhWkysdyf1klcngNqwl5OoopOn8=; b=VsO3fzxgu2tPfhMyCZzpj7JW7I58o1eG5Q5hCVB/QdtqJC1UcWJbKUUdsrWoi3v7AuQB/d KbgO/w2bjXWwsfsYOW++XvK/U8a59TSPI5ar01U93n8/cimBBn/1VyB3OHAoghdOjnWQIR nCnkVC0K8iDefCTEzxCboKzOqin3VoQZcq5GM/Co6K6Hbb512HfUgau71LA5hoCXReYLS/ vq57ZevJaZRwA5LX5f/dk9WF3TerKhPuEPHKEpaSLJ6wbGndvQ4JcE6ieufFKT7qfeUI+Z LhGij9Vc3efD6BRCkxCDmd6wxVvxUu5UK8K5/c7BV02lNjOD87yW5xjP/NJ+PQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672006505; a=rsa-sha256; cv=none; b=QMW20ibppXTjhqfu4Bo8ZMDyr2CzZn6/5b6I++qRLHhpv0C7lXdAPPNR0HxvqDfZDRSgcu aH89uAxQWmUhy0QWMFPPWat/IJIL0uUOcOkkuQBKBdGdkCKShl3GhOjpyCPsblq6H4jBq6 NJsG47fe/a33dDYolYDJE/MxyXOW1zO9W8CL8qTuM358xAwvA/cyriwa3cHDuasel/d436 6iMenmsEGJTt/hzIYZMxeNy73ParMGjcTEnrKdKdkr7tdp6FU++zHnwRIe58erXpVu+DU9 +MzdmimVnemyqzpP4Jtr6LIuz9Nz3OHLI7f9ZHKfIUrushkICa3Ogda/owOOKA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NgFbF4F2gz17dl; Sun, 25 Dec 2022 22:15:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BPMF5HF014871; Sun, 25 Dec 2022 22:15:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BPMF5ec014870; Sun, 25 Dec 2022 22:15:05 GMT (envelope-from git) Date: Sun, 25 Dec 2022 22:15:05 GMT Message-Id: <202212252215.2BPMF5ec014870@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Tijl Coosemans Subject: git: 5325ea5ae199 - main - devel/libtool: Fix cross compiled packages 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tijl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5325ea5ae199c461c0dce63075d2d90c095b80fd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tijl: URL: https://cgit.FreeBSD.org/ports/commit/?id=5325ea5ae199c461c0dce63075d2d90c095b80fd commit 5325ea5ae199c461c0dce63075d2d90c095b80fd Author: Tijl Coosemans AuthorDate: 2022-04-08 14:31:53 +0000 Commit: Tijl Coosemans CommitDate: 2022-12-25 22:12:15 +0000 devel/libtool: Fix cross compiled packages The libtool script is generated for a given compiler so Poudriere cannot use a cross compiler. lang/python* ports have a similar problem. PR: 230018 --- devel/libtool/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/devel/libtool/Makefile b/devel/libtool/Makefile index 5121661dc23c..338a975d2990 100644 --- a/devel/libtool/Makefile +++ b/devel/libtool/Makefile @@ -19,4 +19,11 @@ TEST_TARGET= check NO_ARCH= yes INFO= libtool +.if "${CC}" == "/nxb-bin/usr/bin/cc" +# Generate libtool script for the native compiler, not the cross compiler. +CC= cc +CXX= c++ +LD= ld +.endif + .include