Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2011 15:57:47 +0100
From:      Gary Jennejohn <gljennjohn@googlemail.com>
To:        "Helmut Schneider" <jumper99@gmx.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Makefile, ${VARIABLE}= vs. ${VARIABLE}?=
Message-ID:  <20110213155747.34adbb9f@ernst.jennejohn.org>
In-Reply-To: <xn0habnig1jczkg007@news.gmane.org>
References:  <xn0habnig1jczkg007@news.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Feb 2011 14:14:17 +0000 (UTC)
"Helmut Schneider" <jumper99@gmx.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110213155747.34adbb9f>