bin/177593: [PATCH] bmake doesn't honor BSDmakefile like pmake does

Garrett Cooper yaneurabeya at
Tue Apr 2 21:40:01 UTC 2013

>Number:         177593
>Category:       bin
>Synopsis:       [PATCH] bmake doesn't honor BSDmakefile like pmake does
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 02 21:40:00 UTC 2013
>Originator:     Garrett Cooper
>Release:        10-CURRENT
EMC Isilon
FreeBSD fuji-current.local 10.0-CURRENT FreeBSD 10.0-CURRENT #7 r+bece424: Sat Mar 30 03:15:47 PDT 2013     root at fuji-current.local:/usr/obj/usr/src/sys/FUJI  i386
pmake supports BSDmakefile but bmake doesn't. This patch enhances bmake to support BSDmakefile.


Patch attached with submission follows:

>From 80a80dc066a2f76b111c30378a064f3e3af56878 Mon Sep 17 00:00:00 2001
From: Garrett Cooper <yanegomi at>
Date: Tue, 2 Apr 2013 14:28:03 -0700
Subject: [PATCH] Support BSDmakefile with bmake

Signed-off-by: Garrett Cooper <yanegomi at>
 usr.bin/bmake/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.bin/bmake/Makefile b/usr.bin/bmake/Makefile
index 6cac1ec..ed4a646 100644
--- a/usr.bin/bmake/Makefile
+++ b/usr.bin/bmake/Makefile
@@ -88,6 +88,7 @@ DEFAULT_SYS_PATH?= .../share/mk:${prefix}/share/mk
+CFLAGS+= -DMAKEFILE_PREFERENCE_LIST="\"BSDmakefile makefile Makefile\""
 CFLAGS+= -I. -I${srcdir} ${XDEFS} -DMAKE_NATIVE
 CFLAGS+= ${COPTS.${.ALLSRC:M*.c:T:u}}


More information about the freebsd-bugs mailing list