https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241227

Walter Schwarzenfeld <w.schwarzenf...@utanet.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |w.schwarzenf...@utanet.at

--- Comment #12 from Walter Schwarzenfeld <w.schwarzenf...@utanet.at> ---
(In reply to Tatsuki Makino from comment #5)
try this change in your patch

        origin=$(dir_part "$1")
+       if [ "${1}" != "${origin}" ] ; then
        flavor=$(flavor_part "$1")
+       else
+               unset FLAVOR
+               flavor=$(pm_make -C "${pd}/${origin}" -V FLAVOR)
+               export flavor $flavor
+       fi
        pkgname_l=$(echo $($PKG_CMD query '%n-%v' $origin)) || return 1
        # if multiple flavors registered then fall back to $FLAVOR if no flavor
has been passed in $1
        [ "${pkgname_l}" != "${pkgname_l#* }" ] && : ${flavor:=$FLAVOR}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to