tech-pkg archive

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

Re: building devel/bmake on case-insensitive filesystems



Hi Brook

> I have long had trouble with devel/bmake not defining MAKE_VERSION on
> MacOS, and have finally figured out why.  Among the files in
> devel/bmake/files are the following:

A simple change to make-bootstrap.sh.in should do:

diff -r 7633d7592317 bmake/make-bootstrap.sh.in
--- a/bmake/make-bootstrap.sh.in	Sat Aug 12 14:46:24 2017 -0700
+++ b/bmake/make-bootstrap.sh.in	Sat Aug 12 16:27:56 2017 -0700
@@ -13,7 +13,7 @@
 CC="@CC@"
 CFLAGS="@CFLAGS@ -I. -I${srcdir} @DEFS@ @CPPFLAGS@ -DMAKE_NATIVE ${XDEFS} -DBMAKE_PATH_MAX=@bmake_path_max@"
 
-MAKE_VERSION=`sed -n '/^_MAKE_VERSION=/s,.*=[^0-9]*,,p' $srcdir/Makefile`
+MAKE_VERSION=`sed -n '/^_MAKE_VERSION=/s,.*=[^0-9]*,,p' $srcdir/[Mm]akefile`
 
 MDEFS="-DMAKE_VERSION=\"$MAKE_VERSION\" \
 -D@force_machine@MACHINE=\"@machine@\" -DMACHINE_ARCH=\"@machine_arch@\" \



Home | Main Index | Thread Index | Old Index