[Bug 54594] [patch] make(1) apply regexps to the entire variable -- a new variable modifier

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 27 14:22:56 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=54594

Jilles Tjoelker <jilles at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles at FreeBSD.org
             Status|In Progress                 |Closed
         Resolution|---                         |FIXED

--- Comment #1 from Jilles Tjoelker <jilles at FreeBSD.org> ---
The new make(1) in stable/10 and newer, bmake, available as devel/bmake from
ports in older branches, can do this. It is implemented as a new option (in
addition to '1' and 'g') to the :C and :S variable modifiers. Your example is
written as follows:

CLASSPATH=${JARS:C/ +/:/gW}

By the way, I wonder why you're using make instead of a Java-specific build
system for a Java project ;-)

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


More information about the freebsd-bugs mailing list