x11-servers/xorg-servers configure error
Jan Beich
jbeich at tormail.org
Fri May 25 21:28:54 UTC 2012
Sevan / Venture37 <venture37 at 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.
More information about the freebsd-x11
mailing list