Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/bmake bmake: Fix match for bootstrap pdksh.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/069897c3db00
branches:  trunk
changeset: 434521:069897c3db00
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jun 18 10:07:35 2020 +0000

description:
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:

 devel/bmake/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ea3a71b1595a -r 069897c3db00 devel/bmake/Makefile
--- a/devel/bmake/Makefile      Thu Jun 18 04:58:24 2020 +0000
+++ b/devel/bmake/Makefile      Thu Jun 18 10:07:35 2020 +0000
@@ -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 @@
 #
 .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



Home | Main Index | Thread Index | Old Index