From owner-freebsd-ports@FreeBSD.ORG Mon Jun 20 09:54:16 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAF451065676 for ; Mon, 20 Jun 2011 09:54:16 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A43418FC14 for ; Mon, 20 Jun 2011 09:54:16 +0000 (UTC) Received: by iwr19 with SMTP id 19so3952313iwr.13 for ; Mon, 20 Jun 2011 02:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=VLDXujSQgInTHDcZIrtoDC4ND9ZIc6umIhVMdI6qKdE=; b=EwWRJtJ8CjUzDVLUfsYZqY3ZnoMGehNbocgVxJVtdOUHWjlY8fsa/E/2XWLNFFx4wB 7a4CrYauHPTOFaCakZlntoEHxTZ67jbXEXJ11YoSbi4OsPUXr83X0F//wsuvLb12zz+Q DGbiR18nYTdVcwNwagidtNyvpRLNdlWV0ZWEw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=EzunuOTR6gxZt7UNfFqMESOfKXfyr1UIGFh/7AQ3aVVa8QMrDp9rbke5ryjtRmKh4X GoTN/hzE/hxjUhvRe9NqzjshSBVveFHMmsVfgiFYXqIVxmB/ZXFh3fyBAH31HcrLL2ja QlSV7nJP/3NHJTZRROrosv2/yxutqWaFRy1To= Received: by 10.231.200.82 with SMTP id ev18mr4997895ibb.45.1308563656077; Mon, 20 Jun 2011 02:54:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.49.193 with HTTP; Mon, 20 Jun 2011 02:53:46 -0700 (PDT) In-Reply-To: References: From: Chris Rees Date: Mon, 20 Jun 2011 10:53:46 +0100 Message-ID: To: "J. Hellenthal" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org, "Timur I. Bakeyev" Subject: Re: net/samba-libsmbclient SAMBA_PORT= -> SAMBA_PORT?= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2011 09:54:17 -0000 On 12 March 2011 18:18, J. Hellenthal 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