Date: Wed, 23 Oct 2024 20:19:13 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 282291] bsd.port.mk: Remove confusing double "/" from _DISTDIR Message-ID: <bug-282291-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282291 Bug ID: 282291 Summary: bsd.port.mk: Remove confusing double "/" from _DISTDIR Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: 0mp@FreeBSD.org CC: ports-bugs@FreeBSD.org bsd.port.mk: Remove confusing double "/" from _DISTDIR _DISTDIR is a variable which stores the distfiles directory of the port tha= t is currently being worked on. In practice, it is usually just the DISTDIR, although some ports also define a subdirectory. Currently, a slash separati= ng DISTDIR from DIST_SUBDIR is added to _DISTDIR no matter if DIST_SUBDIR is s= et or not. This may cause confusion to ports users by looking like a bug while= it is not. In particular, this patch casuses diagnostic logs of failed archive extract= ion to look like this: =3D=3D=3D> Failed to extract "/portdistfiles/ttf-iosevka-ss05-4.1.1.zi= p". instead of this: =3D=3D=3D> Failed to extract "/portdistfiles//ttf-iosevka-ss05-4.1.1.z= ip". --=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-282291-7788>