Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 =3D =A0 =A0${SAMBA_LIBSMBPORT:=3Dsamba34}
>

Translated from sh to Mk:

.if defined (SAMBA_LIBSMBPORT)
SAMBA_PORT=3D ${SAMBA_LIBSMBPORT}
.else
SAMBA_PORT=3D samba34
.endif

Not that I think it's a good idea, but just pointing out how make
differs from sh.

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimL%2BG8vpk1T3902hgxRXJ6EDUPnsg>