Quantcast

x11-servers/xorg-servers configure error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

x11-servers/xorg-servers configure error

Sevan / Venture37-2
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.

config.log:
http://pastebin.ca/2153752

make.conf:
STRIP=
CFLAGS+=-fno-omit-frame-pointer

WITH_LCD_FILTERING="YES"
VIDEO_DRIVER="intel"
WITHOUT_NLS="YES"
RUBY_VER=1.9
WITH_LCD_FILTERING="YES"

# added by use.perl 2012-05-20 14:42:26
PERL_VERSION=5.12.4


--- 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}"
+
  .if !defined(SLAVE_PORT)
  MAN1= Xorg.1 \
  Xserver.1 \
@@ -77,8 +79,16 @@
  OPTIONS= AIGLX "Compile with Accelerated Indirect GLX support" on \
  SUID "Install the Xorg server with setuid bit set" on

+
  .include <bsd.port.pre.mk>

+.if ${CPP:Mclang*}
+RAWCPP?= ${LOCALBASE}/bin/ucpp
+BUILD_DEPENDS+= ${RAWCPP}:${PORTSDIR}/devel/ucpp
+.else
+RAWCPP?= $$(command -v ${CPP})
+.endif
+
  .if ${ARCH} == sparc64
  OPTIONS+= HAL "Compile with HAL config support" off
  .else




Any suggestions?


Sevan
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: x11-servers/xorg-servers configure error

Jan Beich-2
Sevan / Venture37 <[hidden email]> 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.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Loading...