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

Garrett Cooper yaneurabeya at gmail.com
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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 02 21:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
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
>Description:
pmake supports BSDmakefile but bmake doesn't. This patch enhances bmake to support BSDmakefile.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

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

Signed-off-by: Garrett Cooper <yanegomi at gmail.com>
---
 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
 
 CPPFLAGS+= -DUSE_META
 CFLAGS+= ${CPPFLAGS}
+CFLAGS+= -DMAKEFILE_PREFERENCE_LIST="\"BSDmakefile makefile Makefile\""
 CFLAGS+= -D_PATH_DEFSYSPATH=\"${DEFAULT_SYS_PATH}\"
 CFLAGS+= -I. -I${srcdir} ${XDEFS} -DMAKE_NATIVE
 CFLAGS+= ${COPTS.${.ALLSRC:M*.c:T:u}}
-- 
1.8.1.3



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list