${LOCALBASE} funniness?
Adam Weinberger
adamw at FreeBSD.org
Sun Jun 27 10:05:36 PDT 2004
>> (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 at magnesium.net || adamw at FreeBSD.org
adamw at vectors.cx || adamw at gnome.org
http://www.vectors.cx
More information about the freebsd-ports
mailing list