summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2020-06-18 10:07:35 +0000
committerjperkin <jperkin@pkgsrc.org>2020-06-18 10:07:35 +0000
commitda1df4bcfef78171cad5733eacc9d6b40233eba2 (patch)
tree0b206c8de436fc1f2a114be9bbaf02eeff56e446 /devel
parent357976f0e34bcb54267badba1e7b2f259c35ecda (diff)
downloadpkgsrc-da1df4bcfef78171cad5733eacc9d6b40233eba2.tar.gz
bmake: Fix match for bootstrap pdksh.
When bmake is built during bootstrap it's using a temporary prefix, so matching against LOCALBASE doesn't work.
Diffstat (limited to 'devel')
-rw-r--r--devel/bmake/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/bmake/Makefile b/devel/bmake/Makefile
index bcc98d8fb7d..fb5b212c0dd 100644
--- a/devel/bmake/Makefile
+++ b/devel/bmake/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2020/06/12 16:01:36 jperkin Exp $
+# $NetBSD: Makefile,v 1.78 2020/06/18 10:07:35 jperkin Exp $
DISTNAME= bmake-20200524
PKGREVISION= 1
@@ -40,7 +40,7 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
#
.if ${OPSYS} == "SunOS" && exists(/usr/bin/bash)
CONFIGURE_ARGS+= --with-defshell=/usr/bin/bash
-.elif ${TOOLS_PLATFORM.sh} == "${LOCALBASE}/bin/pdksh"
+.elif ${TOOLS_PLATFORM.sh:M*/bin/pdksh}
DEPENDS+= pdksh-[0-9]*:../../shells/pdksh
CONFIGURE_ARGS+= --with-defshell=${PREFIX}/bin/pdksh
.endif