Date: Sat, 26 May 2012 00:26:50 +0300 From: Jan Beich <jbeich@tormail.org> To: Sevan / Venture37 <venture37@gmail.com> Cc: x11@FreeBSD.org Subject: Re: x11-servers/xorg-servers configure error Message-ID: <1SY22G-0000El-GL@internal.tormail.org> In-Reply-To: <4FBE8635.3030501@gmail.com> (Sevan's message of "Thu, 24 May 2012 20:04:21 %2B0100") References: <4FBE8635.3030501@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sevan / Venture37 <venture37@gmail.com> writes:
> Hiya,
> I'm runnnig -head WITH_CLANG_IS_CC, when trying the build
> x11-servers/xorg-servers I receive the error "/usr/bin/cpp does not
> preserve whitespace with or without -traditional. I don't know what to do."
>
> I tried the patch proposed in PR166373 which worked for x11/libX11, but
> no luck.
[...]
> --- Makefile 24 Apr 2012 17:28:04 -0000 1.86
> +++ Makefile 22 May 2012 17:23:06 -0000
> @@ -56,6 +56,8 @@
> --localstatedir=/var --without-dtrace --disable-xephyr \
> --enable-record=yes
>
> +CONFIGURE_ENV+= RAWCPP="${RAWCPP}"
> +
[...]
Move above `+=' assignment after `=' one, i.e. anywhere below
CONFIGURE_ENV= SHA1_LIB="-L/usr/lib -lcrypto" SHA1_CFLAGS="-I/usr/include"
--
I think portlint should warn about `=' assignments for common variables
under an ifdef, those often are harder to notice like in this case.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1SY22G-0000El-GL>
