Date: Sun, 19 Jan 2020 05:19:23 +0000 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 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/>
next in thread | previous in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241227-21822-tQBh68rM6i>