From owner-freebsd-ports@FreeBSD.ORG Sun Feb 13 14:57:52 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B66B106566C for ; Sun, 13 Feb 2011 14:57:52 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 02E098FC0C for ; Sun, 13 Feb 2011 14:57:51 +0000 (UTC) Received: by bwz12 with SMTP id 12so4550032bwz.13 for ; Sun, 13 Feb 2011 06:57:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:x-mailer:mime-version:content-type :content-transfer-encoding; bh=k9/CmGLzMhJfNb0qlWtsdLkmogK8PaSY0PVuBH0PWFA=; b=RJX5xXGCcyPj7Jb138DoJtL7567o8GSeFJJ8063O8MbjU0rz3OXDHHosNLvcqo8txp zCpcTOG78itNR90D2xlbkgf6AZcYdtTrgkdN8gKn7cUuPe/0krMQTGe7v9H104cwvtM5 Vvf2lzPGi6Oyxl4CbpVzIwbFiJmnLICx59K5M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; b=FkBVBHSbP4qO0lNnNkKr79GlrsxCoN8/34ymXiVv3EjM/OmspfCbZIynb577f0J0ib rpVtYLJL6HuHhApqoPD48sKWXhiLDlkqVva8MnuFizoxgw6rhbaCaaJ4T32eF0neIb4F K/kjI9yEC/1RJSFvPzNw6DJMQfQyKo/AIdpGs= Received: by 10.204.82.84 with SMTP id a20mr834829bkl.154.1297609070749; Sun, 13 Feb 2011 06:57:50 -0800 (PST) Received: from ernst.jennejohn.org (p578E3D5D.dip.t-dialin.net [87.142.61.93]) by mx.google.com with ESMTPS id 12sm1080733bki.19.2011.02.13.06.57.49 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 13 Feb 2011 06:57:49 -0800 (PST) Date: Sun, 13 Feb 2011 15:57:47 +0100 From: Gary Jennejohn To: "Helmut Schneider" Message-ID: <20110213155747.34adbb9f@ernst.jennejohn.org> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Makefile, ${VARIABLE}= vs. ${VARIABLE}?= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2011 14:57:52 -0000 On Sun, 13 Feb 2011 14:14:17 +0000 (UTC) "Helmut Schneider" wrote: > [helmut@BSDHelmut ~]$ grep -ir latest /usr/ports/www/apache2? > /usr/ports/www/apache20/Makefile:LATEST_LINK= apache20 > /usr/ports/www/apache22/Makefile:LATEST_LINK?= apache22 > [helmut@BSDHelmut ~]$ > > So, what's the difference between e.g. "LATEST_LINK=" and > "LATEST_LINK?="? > from make(1) = Assign the value to the variable. Any previous value is overrid- den. ?= Assign the value to the variable if it is not already defined. -- Gary Jennejohn