From nobody Thu Dec 29 21:41:40 2022 X-Original-To: freebsd-ports@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 4Njhg14yhYz1J1HF for ; Thu, 29 Dec 2022 21:41:49 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01olkn2089.outbound.protection.outlook.com [40.92.53.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Njhg038Llz3rPG; Thu, 29 Dec 2022 21:41:48 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=vKvARKWR; spf=pass (mx1.freebsd.org: domain of tatsuki_makino@hotmail.com designates 40.92.53.89 as permitted sender) smtp.mailfrom=tatsuki_makino@hotmail.com; dmarc=pass (policy=none) header.from=hotmail.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DL0r1UDFXYXcN651KyTlP7m8DypZhijmvnIKg8oOVwktX7KV8lrTKSKTGT3leqBK0txsC3ycy+Sd9g1vez7akaNpm/aMYY8pcXzmEt584d9/0LlHglVC3tqnoTLHnP0Fg3RQrkPqLIMFGwvM8gmVL8ZhViNAPOxYjrFSXHY5ZibNqYEuHLsRfeK09omnIHP47aOpPcPKXXVFPbl/UcXXJETUEuJHl6M7eN/GNRHouIoT4cxzPVvwjT1O34ywNy6cuerioxneUpUqxbcuH0Jed1nD5JTiy1EyPfhcxTCRxQT2GnOprvfsP/5C2ibMwJQt+sAS/i97dHMSmOUnOCbL8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YeFyGDwIVYhRNrVpg6leQXOd+juIfb/RsiAFagTFTyg=; b=XI4+8HZWZ+IrEyhW8ihkg4YvrfpUxZQGrTUZVoodQoyTNkkoG3Mc1eTOnny8MQur+HXnxTDDGg82CfBxgWFbs7kXMI90jnhpI1CVnhpwmoSvdi0A1lGWGCoSe6lwVf+f6hklhqgPteMMYxmdXkcp7xgJ/KYzDMNBZesKIeVmJw9e5ZO8mn8UAzoUq+f/lIiGAGqFZYJnYBbLlrRGqUdRr7w/wjBkSXOM9IPYja72/XSGHhKUxUTPfqkMnAmfpaVIcuvHXJ1BqfrFxH/QR+TGeL4mrMhakdH4l6eq2o6UciKwOm/99U/bEzAacZTEkF7ZPxVxeLwygsn2iqTPgn6xuw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YeFyGDwIVYhRNrVpg6leQXOd+juIfb/RsiAFagTFTyg=; b=vKvARKWRBexctu8WR0KRwK+q5Cnq8cmCpqknQ2j6zOLFi+V8VK5Or3RjxB1szg39bnSMWekKeCda+/E28qUdxm564MVwDuqhvElWfe2ikg9h/g37kXmyN737vRwoPJWD+TC5cpGzUrVPmQ6v5gVjme24oDANUAFB5ML1UPJw2Z1c0ulh6yUOvu0sY0Ck1t3bgEGcJl+nsMeam29V8+H4EMrsnizvCgU0bZAZVOfBnlTxQ3pMBZ5w/MeAj+Vb0kCupwEyD+9VhNOz+9oXN5pTv6W5B+Rk/UaelgfkxRqrpazB+WE/hfW3xZ7EqyeJvUkwiI4xEE6g65NEaM6BKVsITw== Received: from PSAPR03MB5639.apcprd03.prod.outlook.com (2603:1096:301:66::13) by SG2PR03MB6684.apcprd03.prod.outlook.com (2603:1096:4:1db::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.16; Thu, 29 Dec 2022 21:41:44 +0000 Received: from PSAPR03MB5639.apcprd03.prod.outlook.com ([fe80::b8b1:ec60:3d5d:ce02]) by PSAPR03MB5639.apcprd03.prod.outlook.com ([fe80::b8b1:ec60:3d5d:ce02%4]) with mapi id 15.20.5944.016; Thu, 29 Dec 2022 21:41:43 +0000 Subject: Re: Would like to use ARCH (uname -p) but it's not always correct (e.g. arm64) From: Tatsuki Makino To: Nuno Teixeira References: Cc: FreeBSD Mailing List Message-ID: Date: Fri, 30 Dec 2022 06:41:40 +0900 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TMN: [sqEMn6qKjFsWr5UTKjgcgsPmImsKpUW8] X-ClientProxiedBy: TYAPR04CA0006.apcprd04.prod.outlook.com (2603:1096:404:15::18) To PSAPR03MB5639.apcprd03.prod.outlook.com (2603:1096:301:66::13) X-Microsoft-Original-Message-ID: <82980faf-7ee7-26d4-bf7e-c851b06006c5@hotmail.com> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PSAPR03MB5639:EE_|SG2PR03MB6684:EE_ X-MS-Office365-Filtering-Correlation-Id: 11134e42-94ae-4a15-d6b6-08dae9e57a17 X-MS-Exchange-S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dkb1RSb3EvbkVlS25BSkhmQW54NFZP?= =?utf-8?B?cXBaNmtML2p0aldQY2QxVmtnYmMvcXJSSTdESS80RVNJK05rdmtFM1R5MTVk?= =?utf-8?B?cWFpYTAxSmFPWk4vckhzWDVnT1ExQTNKWEljVGtDWitNQnpFWkRVQmI3Y21U?= =?utf-8?B?T1ZrcFV6dElDbjZGdXEyRlZqYi9mQzFraUdpRGkwSmRHekR0L29SWHlWVTlP?= =?utf-8?B?YUN5Sm9iMXNvazN2L29WQmlKa0JuMkFjbWF6WXNKZ0hJTElSTDVDSHlKZWtq?= =?utf-8?B?VndxNnRGUzNYVnF6V2JGdm53dUh5d2o3S0NCWXFhUFBXanViU1RraXJzVzVv?= =?utf-8?B?TzNWbzZRd1RhMzR2ZW03UDM3a3pnWStWNEl2cWhBZHJoSmU3Rmh4ODlLU0d6?= =?utf-8?Q?LIsU2YgukTSSpD6rJM=3D?= X-OriginatorOrg: sct-15-20-4734-24-msonline-outlook-c0b75.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 11134e42-94ae-4a15-d6b6-08dae9e57a17 X-MS-Exchange-CrossTenant-AuthSource: PSAPR03MB5639.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Dec 2022 21:41:43.4636 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR03MB6684 X-Spamd-Result: default: False [-2.46 / 15.00]; FORGED_MUA_SEAMONKEY_MSGID_UNKNOWN(2.50)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; NEURAL_HAM_MEDIUM(-0.96)[-0.959]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; FROM_EQ_ENVFROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.53.89:from]; DKIM_TRACE(0.00)[hotmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[hotmail.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.92.53.89:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim] X-Rspamd-Queue-Id: 4Njhg038Llz3rPG X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N Tatsuki Makino wrote on 2022/12/30 06:17: > For x11-wm/nscde, this is present in ${WRCSRC}/configure.ac. > > OS_PLUS_MACHINE_ARCH=`uname -sm | tr ' ' '_'` > AC_SUBST(OS_PLUS_MACHINE_ARCH) > Then, in the case of security/zeek, it seems that uname -m is used in zeek-5.0.4/cmake/GetArchitecture.cmake of distfile. That's also where FreeBSD gets lowercased. Regards.