Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [update] sysutils/trash-d 18 -> 19
To:
aisha <openbsd.ports@aisha.cc>
Cc:
Johannes Thyssen Tishman <johannes@thyssentishman.com>, ports@openbsd.org, bcallah@openbsd.org
Date:
Tue, 27 Aug 2024 15:59:39 +0100

Download raw body.

Thread
On 2024/08/27 10:56, aisha wrote:
> 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

typo WORKDIR/WRKDIR. but usually you'd set PORTHOME=${WRKDIR}.