Skip to content

Commit 1571841

Browse files
committed
devel/mk-configure: fix NetBSD-9 build for packages using mk-configure
See PR pkg/59184.
1 parent 37c4a77 commit 1571841

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

devel/mk-configure/mk-c.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: mk-c.mk,v 1.11 2021/03/24 21:58:42 cheusov Exp $
1+
# $NetBSD: mk-c.mk,v 1.12 2025/03/26 20:26:26 rillig Exp $
22

33
TOOL_DEPENDS+= ${BUILDLINK_API_DEPENDS.mk-c}:${BUILDLINK_PKGSRCDIR.mk-c}
44

@@ -8,6 +8,10 @@ MAKE_ENV+= SYSCONFDIR=${PKG_SYSCONFDIR}
88
MAKE_ENV+= MKCOMPILERSETTINGS=yes
99
CONFIGURE_TARGET?= configure
1010

11+
# Fix the build on NetBSD 9 since it passes .MAKE.LEVEL.ENV via MAKEFLAGS,
12+
# and the pkgsrc make doesn't allow this variable.
13+
MAKE_ENV+= MAKEFLAGS=
14+
1115
.if !target(do-configure)
1216
do-configure:
1317
set -e; cd ${WRKSRC}; \

0 commit comments

Comments
 (0)