net/samba-libsmbclient SAMBA_PORT= -> SAMBA_PORT?=
Chris Rees
utisoft at gmail.com
Mon Jun 20 09:54:17 UTC 2011
On 12 March 2011 18:18, J. Hellenthal <jhell at 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
More information about the freebsd-ports
mailing list