Thread View: muc.lists.freebsd.ports
1 messages
1 total messages
Started by Gleb Popov
Thu, 05 Nov 2026 10:10
Re: WRKSRC and USE_RC_SUBR collision (was Re: WRKSRC problem in Go port pulling sources from Codeberg + Go Modules via GH_TUPLE)
Author: Gleb Popov
Date: Thu, 05 Nov 2026 10:10
Date: Thu, 05 Nov 2026 10:10
32 lines
6356 bytes
6356 bytes
On Thu, Nov 5, 2026 at 1:03 PM Yusuf Yaman <nxjoseph@freebsd.org> wrote:
>
> Hi,
>
> Like this:
>
> ===> Configuring for hydroxide-0.2.33
> /bin/sh: cannot create /userdata/usr/ports/mail/hydroxide/work/hydroxide: Is a directory
>
> Thanks.
Ah, right, that's unfortunate. This is what we have in Mk/bsd.port.mk:
. if defined(NO_WRKSUBDIR)
# Some ports have DISTNAME=PORTNAME, and USE_RC_SUBR=PORTNAME, in those case,
# the rc file will conflict with WRKSRC, as WRKSRC is artificial, make it the
# most unlikely to conflict as we can.
WRKSRC?= ${WRKDIR}/${PKGNAME}
EXTRACT_WRKDIR:= ${WRKSRC}
. else
...
So it seems that defining NO_WRKSUBDIR=yes should fix your issue.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads