Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2004 13:05:35 -0400
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        Lewis Thompson <lewiz@fajita.org>
Cc:        ports@freebsd.org
Subject:   Re: ${LOCALBASE} funniness?
Message-ID:  <20040627170535.GA16487@toxic.magnesium.net>
In-Reply-To: <20040627165624.GA59360@fajita.org>
References:  <20040627165624.GA59360@fajita.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>> (06.27.2004 @ 1256 PST): Lewis Thompson said, in 1.1K: <<
> Hi,
> 
> I have a port with the line:
> 
> .if exists(/usr/local/bin/flac) && !defined(WITHOUT_FLAC)
> 
> that is true, while:
> 
> .if exists(${LOCALBASE}/bin/flac) && !defined(WITHOUT_FLAC)
> 
> is not.
> 
>   I've added an @${ECHO_MSG} "${LOCALBASE}" and it outputs /usr/local.
> Am I going crazy here?  Incidentally:
> 
> .if exists(${X11BASE}/bin/flac) && !defined(WITHOUT_FLAC)
> 
> works (if I touch flac there).
> 
>   Thanks a lot,
> 
> -lewiz.
>> end of "${LOCALBASE} funniness?" from Lewis Thompson <<

.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/flac) && !defined(WITHOUT_FLAC)

...

.include <bsd.port.post.mk>

--
Adam Weinberger
adamw@magnesium.net || adamw@FreeBSD.org
adamw@vectors.cx    ||   adamw@gnome.org
http://www.vectors.cx



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