| Summary: | new variable modifiers for make(1) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Gaspar Chilingarov <nm> | ||||
| Component: | bin | Assignee: | Will Andrews <will> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Unspecified | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-bugs->will Over to MAINTAINER. 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. State Changed From-To: suspended->closed Committed to RELENG_4 and RELENG_3, thanks!! |
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.