Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Oct 2023 01:56:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274272] usr.bin/bmake: does not create make if tests dir does not exist
Message-ID:  <bug-274272-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274272

            Bug ID: 274272
           Summary: usr.bin/bmake: does not create make if tests dir does
                    not exist
           Product: Base System
           Version: 13.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: rozhuk.im@gmail.com

/usr/src/usr.bin/bmake/Makefile.inc
...
.if exists(${.CURDIR}/tests)
PROG=3D make
.if ${PROGNAME:U} !=3D "bmake"
LINKS=3D ${BINDIR}/make ${BINDIR}/bmake
MLINKS=3D ${MAN} b${MAN}
.endif
.endif
...

This looks strange, FreeBSD relies that 'make' always exist.

As far I understand from git history, probably it should be:
.if exists(${.CURDIR}/tests)
PROG=3D make
.endif

.if ${PROGNAME:U} !=3D "bmake"
LINKS=3D ${BINDIR}/make ${BINDIR}/bmake
MLINKS=3D ${MAN} b${MAN}
.endif

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274272-227>