Date: Wed, 20 May 2015 10:43:56 -0700 From: Craig Rodrigues <rodrigc@FreeBSD.org> To: Andriy Gapon <avg@freebsd.org> Cc: Garrett Cooper <ngie@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r283151 - head Message-ID: <CAG=rPVfX19XV_6O1GCE_uzweFmTZ16br8i_ggk4cCFE6=vp9gg@mail.gmail.com> In-Reply-To: <555CC352.60302@FreeBSD.org> References: <201505201304.t4KD41Bn063189@svn.freebsd.org> <555CBDE2.6080401@FreeBSD.org> <555CC352.60302@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 20, 2015 at 10:24 AM, Andriy Gapon <avg@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVfX19XV_6O1GCE_uzweFmTZ16br8i_ggk4cCFE6=vp9gg>