svn commit: r283151 - head
Craig Rodrigues
rodrigc at FreeBSD.org
Wed May 20 23:26:03 UTC 2015
On Wed, May 20, 2015 at 10:24 AM, Andriy Gapon <avg at freebsd.org> wrote:
> >>
> >> lib/libproc__L: \
> >> - cddl/lib/libctf__L lib/libelf__L lib/librtld_db__L lib/libutil__L
> >> + ${_cddl_lib_libctf} lib/libelf__L lib/librtld_db__L lib/libutil__L
>
> Should the above perhaps be ${_cddl_lib_libctf}__L? But such that it is
> empty
> if _cddl_lib_libctf is unset. Not sure how to express that with the make
> syntax. In shell it'd be ${_cddl_lib_libctf:+${_cddl_lib_libctf}__L}.
>
>
You can use:
${_cddl_lib_libctf:D${_cddl_lib_libctf}__L}
If you look at the make(1) man page and look for the section
"Variable modifiers", you can see the documentation for this.
--
Craig
More information about the svn-src-head
mailing list