Date: Tue, 29 Aug 2017 11:47:21 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 219780] USE_PACKAGE_DEPENDS broken if PACKAGES' definition contains colons Message-ID: <bug-219780-13-KdImL48xeX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-219780-13@https.bugs.freebsd.org/bugzilla/> References: <bug-219780-13@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=3D219780 --- Comment #1 from Harald Schmalzbauer <bugzilla.freebsd@omnilan.de> --- Just for documentation: Index: ports/Mk/Scripts/do-depends.sh =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- ports/Mk/Scripts/do-depends.sh (Revision 448848) +++ ports/Mk/Scripts/do-depends.sh (Arbeitskopie) @@ -31,6 +31,11 @@ PKGFILE pkgfile \ PKGBASE pkgbase + # It's too much effort handling PKGFILE in port_var_fetch(), so work arround + # PACKAGES fallout from r438058 by filtering induvidually =E2=80=93= error prone since + # somebody would have to check scripts... Just fix this one here + pkgfile=3D$(echo "${pkgfile}" | tr -d '\') + if [ -r "${pkgfile}" -a "${target}" =3D "${dp_DEPENDS_TARGET}" ]; t= hen echo "=3D=3D=3D> Installing existing package ${pkgfile}" if [ "${pkgbase}" =3D "pkg" ]; then Hard to believe USE_PACKAGE_DEPENDS is used that rarely. More astonishing is to see 218827 beeing closed while this stayed unresolved for that time... This is just quick'n'dirty. Documented here in case anyone needs a quick solution. I haven't had a look at r438901 and successors at all. I guess someone with more ports infrastructure knowledge needs to review that. And intervene if things get damaged without repair... -harry --=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-219780-13-KdImL48xeX>