Tuesday, August 27, 2024

Re: [update] sysutils/trash-d 18 -> 19

On 24/08/27 04:19PM, Johannes Thyssen Tishman wrote:
> 2024-08-27T14:16:22Z "Stuart Henderson" <stu@spacehopper.org>:
> > On 2024/08/27 16:08, Johannes Thyssen Tishman wrote:
> > > 2024-08-27T13:59:36Z "Stuart Henderson" <stu@spacehopper.org>:
> > > > On 2024/08/27 09:49, A Tammy wrote:
> > > > >
> > > > > On 8/27/24 7:26 AM, Johannes Thyssen Tishman wrote:
> > > > > > 2024-08-27T11:21:50Z "Johannes Thyssen Tishman" <johannes@thyssentishman.com>:


cc bcallah@ as maintainer.

Tests didn't pass due to /nonexistent not existing
The following patch makes the tests pass:


diff --git a/sysutils/trash-d/Makefile b/sysutils/trash-d/Makefile
index 75ea2543ff7..b55800f448b 100644
--- a/sysutils/trash-d/Makefile
+++ b/sysutils/trash-d/Makefile
@@ -38,6 +38,6 @@ do-install:
${INSTALL_MAN} ${FILESDIR}/trash.1 ${PREFIX}/man/man1

do-test:
- cd ${WRKSRC} && dub test --cache=local --compiler=dmd
+ cd ${WRKSRC} && env HOME=${WORKDIR} dub test --cache=local --compiler=dmd

.include <bsd.port.mk>

No comments:

Post a Comment