Bug 19959

Summary: new variable modifiers for make(1)
Product: Base System Reporter: Gaspar Chilingarov <nm>
Component: binAssignee: Will Andrews <will>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Gaspar Chilingarov 2000-07-15 23:40:01 UTC
Here is some little patch to allow usage of :U and :L modifiers
for make variables - it's used in OpenBSDish makefiles (isakmpd for example)

usage: 
--cut--
@nightmar /tmp/c# cat Makefile
STR=FooBar
L=${STR:L}
D=${STR:U}
all:
        @echo ${STR}
        @echo ${L}
        @echo ${D}
@nightmar /tmp/c# ./make
FooBar
foobar
FOOBAR
@nightmar /tmp/c#
--cut--

Fix: apply this patch in /usr/src/usr.bin/make 

--cutline--
How-To-Repeat: Try to compile isakmpd distribution with FBSD make - it simply dont convert feautures list to defines correctly.
Comment 1 Will Andrews freebsd_committer freebsd_triage 2000-09-29 21:53:44 UTC
Responsible Changed
From-To: freebsd-bugs->will

Over to MAINTAINER.
Comment 2 Will Andrews freebsd_committer freebsd_triage 2000-10-09 05:53:38 UTC
State Changed
From-To: open->suspended

Committed to 5.0-CURRENT, thanks.  Will be MFC'd to RELENG_4 
and RELENG_3 after the new code has time to settle.
Comment 3 Will Andrews freebsd_committer freebsd_triage 2000-10-23 22:31:26 UTC
State Changed
From-To: suspended->closed

Committed to RELENG_4 and RELENG_3, thanks!!