File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
- # $NetBSD: Makefile,v 1.13 2020/04/21 07 :48:55 dsainty Exp $
1
+ # $NetBSD: Makefile,v 1.14 2020/07/06 10 :48:34 jperkin Exp $
2
2
3
3
DISTNAME = ninja-1.10.0
4
4
PKGNAME = ${DISTNAME:S/ninja/ninja-build/}
@@ -26,8 +26,17 @@ BUILD_DEPENDS+= re2c>=0.11.3:../../devel/re2c
26
26
# Because many (most?) users of ninja/meson seem to need hacks involving
27
27
# LD_LIBRARY_PATH, use a non-SIP-triggering shell under MacOS X.
28
28
#
29
+ # macOS bootstraps are transitioning to mksh as the system shell, once that
30
+ # has been in place for a while we can remove the pdksh support, and ideally
31
+ # just replace this whole section with -DNINJA_SHELL=${TOOLS_PLATFORM.sh}
32
+ #
33
+ . if ${TOOLS_PLATFORM.sh :M?* /bin/mksh}
34
+ DEPENDS+ = mksh-[0-9]*:../../shells/mksh
35
+ CFLAGS+ = -DNINJA_SHELL=${PREFIX}/bin/mksh
36
+ . else
29
37
DEPENDS+ = pdksh-[0-9]*:../../shells/pdksh
30
38
CFLAGS+ = -DNINJA_SHELL=${PREFIX}/bin/pdksh
39
+ . endif
31
40
.else
32
41
CFLAGS+ = -DNINJA_SHELL=/bin/sh
33
42
.endif
You can’t perform that action at this time.
0 commit comments