Date: Mon, 20 Jun 2011 10:53:46 +0100 From: Chris Rees <utisoft@gmail.com> To: "J. Hellenthal" <jhell@dataix.net> Cc: ports@freebsd.org, "Timur I. Bakeyev" <timur@freebsd.org> Subject: Re: net/samba-libsmbclient SAMBA_PORT= -> SAMBA_PORT?= Message-ID: <BANLkTimL%2BG8vpk1T3902hgxRXJ6EDUPnsg@mail.gmail.com> In-Reply-To: <alpine.BSF.2.00.1103121202150.2240@qvfongpu.qngnvk.ybpny> References: <alpine.BSF.2.00.1103010036110.72106@qvfongpu.qngnvk.ybpny> <AANLkTi=jcx=QfJ4iRZZZ9WqPeqkt%2BHM%2Bt1JCqcUxR-0Q@mail.gmail.com> <alpine.BSF.2.00.1103121202150.2240@qvfongpu.qngnvk.ybpny>
index | next in thread | previous in thread | raw e-mail
On 12 March 2011 18:18, J. Hellenthal <jhell@dataix.net> wrote:
> In any case would you mind adding a variable to the Makefile then ?
>
> SAMBA_PORT = ${SAMBA_LIBSMBPORT:=samba34}
>
Translated from sh to Mk:
.if defined (SAMBA_LIBSMBPORT)
SAMBA_PORT= ${SAMBA_LIBSMBPORT}
.else
SAMBA_PORT= samba34
.endif
Not that I think it's a good idea, but just pointing out how make
differs from sh.
Chris
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimL%2BG8vpk1T3902hgxRXJ6EDUPnsg>
