pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/39879: libX11 canoot build on systems with non-GNU 'cpp' (in this case, IRIX)
The following reply was made to PR pkg/39879; it has been noted by GNATS.
From: Alexander Nasonov <alnsn%yandex.ru@localhost>
To: Alexander Nasonov <alnsn%yandex.ru@localhost>
Cc: Tobias Nygren <tnn%NetBSD.org@localhost>, gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/39879: libX11 canoot build on systems with non-GNU 'cpp'
(in this case, IRIX)
Date: Sun, 25 Oct 2009 10:47:15 +0000
Alexander Nasonov wrote:
> Tobias Nygren wrote:
> > Have you tested all other modular X.org packages? Three more I can live
> > with, but if there are even more that have the same problem, then maybe
> > it's time for a different fix.
> ...
> and I'm currently building meta-pkgs/modular-xorg-drivers.
> Will it cover all modular Xorg packages?
If your definition of a modular X.org package is "the one that is
a direct or indirect dependency on one of the meta-pkgs/modular-xorg-*
packages" then here is the last patch.
Index: x11/xf86-video-sis/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xf86-video-sis/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- x11/xf86-video-sis/Makefile 9 Aug 2009 22:56:13 -0000 1.8
+++ x11/xf86-video-sis/Makefile 25 Oct 2009 10:36:41 -0000
@@ -18,6 +18,11 @@
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
+.include "../../mk/compiler.mk"
+.if empty(PKGSRC_COMPILER:Mgcc)
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
+.endif
+
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../x11/modular-xorg-server/buildlink3.mk"
.
Home |
Main Index |
Thread Index |
Old Index