pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gtk2 remove CPPFLAGS=-Xc workaround for Solaris/su...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/49b3b906b946
branches:  trunk
changeset: 495808:49b3b906b946
user:      grant <grant%pkgsrc.org@localhost>
date:      Wed Jun 22 00:45:29 2005 +0000

description:
remove CPPFLAGS=-Xc workaround for Solaris/sunpro which is no longer
needed (and now breaks the build).

diffstat:

 x11/gtk2/Makefile |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (25 lines):

diff -r 06eb53aeb016 -r 49b3b906b946 x11/gtk2/Makefile
--- a/x11/gtk2/Makefile Tue Jun 21 23:06:07 2005 +0000
+++ b/x11/gtk2/Makefile Wed Jun 22 00:45:29 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.84 2005/06/01 18:03:29 jlam Exp $
+# $NetBSD: Makefile,v 1.85 2005/06/22 00:45:29 grant Exp $
 #
 
 DISTNAME=              gtk+-2.6.7
@@ -61,14 +61,7 @@
 
 .include "../../mk/compiler.mk"
 
-# work around /**/ in a macro definition in X11/Xlibint.h (GetEmptyReq)
-# being expanded to a space, causing breakage in gdk/x11/gdkasync.c.
-#
-# turning on strict ISO C compliance uses a different macro definition
-# which uses ## instead and does what it should.
-.if !empty(CC_VERSION:MSun)
-CPPFLAGS+=             -Xc
-.elif ${OPSYS} == "IRIX" && !empty(CC_VERSION:Mgcc*)
+.if ${OPSYS} == "IRIX" && !empty(CC_VERSION:Mgcc*)
 USE_TOOLS+=            gawk
 .endif
 



Home | Main Index | Thread Index | Old Index