From owner-freebsd-python@freebsd.org Sun Jan 19 05:19:25 2020 Return-Path: <owner-freebsd-python@freebsd.org> Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AB9C9231A6D for <freebsd-python@mailman.nyi.freebsd.org>; Sun, 19 Jan 2020 05:19:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 480jld49s8z3MrQ for <freebsd-python@freebsd.org>; Sun, 19 Jan 2020 05:19:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8F67F231A6C; Sun, 19 Jan 2020 05:19:25 +0000 (UTC) Delivered-To: python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8F273231A6B for <python@mailman.nyi.freebsd.org>; Sun, 19 Jan 2020 05:19:25 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 480jld3LMyz3MrP for <python@FreeBSD.org>; Sun, 19 Jan 2020 05:19:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6E32F5E61 for <python@FreeBSD.org>; Sun, 19 Jan 2020 05:19:25 +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 00J5JPmD065309 for <python@FreeBSD.org>; Sun, 19 Jan 2020 05:19:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00J5JPG9065308 for python@FreeBSD.org; Sun, 19 Jan 2020 05:19:25 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: python@FreeBSD.org Subject: [Bug 241227] ports-mgmt/portmaster: If depended port is flavorized and already installed, portmaster reinstall it when installing/updating/reinstalling depending port Date: Sun, 19 Jan 2020 05:19:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: w.schwarzenfeld@utanet.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: se@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-241227-21822-tQBh68rM6i@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-241227-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-241227-21822@https.bugs.freebsd.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 19 Jan 2020 05:19:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241227 Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |w.schwarzenfeld@utanet.at --- Comment #12 from Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> --- (In reply to Tatsuki Makino from comment #5) try this change in your patch origin=3D$(dir_part "$1") + if [ "${1}" !=3D "${origin}" ] ; then flavor=3D$(flavor_part "$1") + else + unset FLAVOR + flavor=3D$(pm_make -C "${pd}/${origin}" -V FLAVOR) + export flavor $flavor + fi pkgname_l=3D$(echo $($PKG_CMD query '%n-%v' $origin)) || return 1 # if multiple flavors registered then fall back to $FLAVOR if no fl= avor has been passed in $1 [ "${pkgname_l}" !=3D "${pkgname_l#* }" ] && : ${flavor:=3D$FLAVOR} --=20 You are receiving this mail because: You are on the CC list for the bug.=