From nobody Wed Mar 29 07:19:27 2023 X-Original-To: bugs@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 4PmdGR62J9z427rw for ; Wed, 29 Mar 2023 07:19:27 +0000 (UTC) (envelope-from bugzilla-noreply@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 4PmdGR2jgZz3LN6 for ; Wed, 29 Mar 2023 07:19:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680074367; 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=vROrYkupMRmCKy4aO0gFrf6Ou8qMm3w6hU8ljnY8st0=; b=Yqrh8cEJILe4jExoYHU7kSbVrhVDAwtZnNgY743nXjpsLiwB+OyDPyVaMZ16WOoK2XApTV zYHPEsPbAm7nKaK0/SBFi+fjnnL4ytSJaeVXS7j2R8Ne9M4+7r3hjdkuDWTKXgEEGK3qyC /s9r6oiks2GvGWMNO9g1JKKVL4M4DsyvBNsnAfhgzTicJPITlddFIigHVaaR45hqvcA0A9 M9AZbcCpkAnlg1By3BH5XuG8PVV96kH0wq5/bJbmZ1MSrHAMK8HqABUIdtuGfXDWMifL1/ IIemkx2nDn6NrKZcC1Nq28u2tEkS2uaxZ/o0TOz7efpcoaKLNBc8VJna3tFePg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680074367; a=rsa-sha256; cv=none; b=IMLyiqtu0yOxoVMLOocGtt2Uuk7x+U/SHqi7fLsN9UmhFIiPH08cZZqIXuPqzmglkK0niR D8w4s88rfkBwiCjufanic1QUE3VBUieybmfUi4RNKUc8UK7HfrV5SGhcXSwOxw8LGk/MW1 9WjLWWk+nydyOrAexPy505oMcKIbVxtEvPHJr3DJK5Qb42ago7NLtpt4jbp4dY8X5oZnsB BGU/KrcTAEcmKcdyttFsM80txgI/5Nl+/VYKL1ATRJnyYi1+QWKrkXgHxVLSdahUjBToUa CT3sEuLRL3vcH82nnVmPCRy5WfZ1ZpeL3WZdymGPP2Qd7mN5X0+TUfypg8TJLQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4PmdGR1n1wzLfS for ; Wed, 29 Mar 2023 07:19:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 32T7JRQq024494 for ; Wed, 29 Mar 2023 07:19:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32T7JRr9024493 for bugs@FreeBSD.org; Wed, 29 Mar 2023 07:19:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 270514] tools/build/Makefile: should include `/opt/local/bin` in PATH for host tools Date: Wed, 29 Mar 2023 07:19:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tkmcintosh@me.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270514 Bug ID: 270514 Summary: tools/build/Makefile: should include `/opt/local/bin` in PATH for host tools Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: tkmcintosh@me.com MacPorts (the primary packaging system for macOS) places installed tools un= der `/opt/local/bin` by default. This path should be included in PATH as an alternative to `/usr/local/bin` for cross-building under macOS: --- tools/build/Makefile.orig 2023-03-29 00:13:46 +++ tools/build/Makefile 2023-03-29 00:14:16 @@ -302,7 +302,7 @@ host-symlinks: @echo "Linking host tools into ${DESTDIR}/bin" .for _tool in ${_host_tools_to_symlink} - @export PATH=3D$${PATH}:/usr/local/bin; \ + @export PATH=3D$${PATH}:/usr/local/bin:/opt/local/bin; \ source_path=3D`which ${_tool} || echo /dev/null/no/such`; \ if [ ! -e "$${source_path}" ] ; then \ echo "Cannot find host tool '${_tool}' in PATH ($$PATH)." >= &2; false; \ --=20 You are receiving this mail because: You are the assignee for the bug.=