From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 87BD0158091 for ; Sat, 4 Jun 2022 04:33:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE8B9E08C8; Sat, 4 Jun 2022 04:33:42 +0000 (UTC) Received: from sysrq.in (sysrq.in [37.79.202.136]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D083E08C8 for ; Sat, 4 Jun 2022 04:33:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sysrq.in; s=sysrq.in; t=1654317218; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jxLb7Y+GCHS4e7Vznogtsix1e2X7CEYD05/v0sTKo+Q=; b=TRBt+JVh9Ch0/jBmXyoZS6qs2QzFbvNOokjsdeQeimx5PnRPQe4ghqhAYS7mo7lFV7T055 QgGYbiT7aZdTyvqsJIXmxyDzetEHCdTf7Bbun+SOkVp7IoMSo6Tr9UEnCCvPDb6voE2wBa NlX235dEjGWU8a5CtSd38YuFfwBJct1Z1ZxLcKVWocEONgpKGPcDxUH0uEXgbXPRDIasrk Tkytyay0L9047e3LX6OF+DsY3GKQ0NTU7QEVq1r90+wX5fTe/ulB+uQNMun3bZZEPVTF2B XmFLG0gl6gzJfaXOXpNnwk3zsQs4I3xL50LXkJCORed5Iqh9AsvypVLTxdm/Cg== Received: from sysrq.in (localhost [127.0.0.1]) by sysrq.in (OpenSMTPD) with ESMTPSA id cd75e4bf (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sat, 4 Jun 2022 04:33:38 +0000 (UTC) From: Anna Vyalkova To: gentoo-alt@lists.gentoo.org Subject: [gentoo-alt] [PATCH 1/7] scripts/bootstrap-prefix.sh: add OpenBSD CHOST detection Date: Sat, 4 Jun 2022 09:33:12 +0500 Message-Id: <20220604043318.21900-2-cyber+gentoo@sysrq.in> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220604043318.21900-1-cyber+gentoo@sysrq.in> References: <20220604043318.21900-1-cyber+gentoo@sysrq.in> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-alt@lists.gentoo.org Reply-to: gentoo-alt@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 69ad928f-2cda-4a26-ab9a-3ff9df781843 X-Archives-Hash: 2ec4285c9a480f3f2cb04967448069ee Signed-off-by: Anna Vyalkova --- scripts/bootstrap-prefix.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 3b5d911680..5b1bfbd598 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -3186,6 +3186,13 @@ if [[ -z ${CHOST} ]]; then ;; esac ;; + OpenBSD) + case `uname -m` in + amd64) + CHOST="x86_64-pc-openbsd`uname -r | sed 's|-.*$||'`" + ;; + esac + ;; *) eerror "Nothing known about platform `uname -s`." eerror "Please set CHOST appropriately for your system" -- 2.35.1