summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg>2013-06-13 22:30:41 +0000
committerjoerg <joerg>2013-06-13 22:30:41 +0000
commitd5ec0198fc612fdb11dfefdb845d901a3863bca7 (patch)
tree3ca9709712517d5565360906f3d54c7fe2b7b747 /x11
parent756df0a8c54fa0fb2684735b239776c7d841f956 (diff)
downloadpkgsrc-d5ec0198fc612fdb11dfefdb845d901a3863bca7.tar.gz
Consistently use devel/tradcpp as preprocessor.
Diffstat (limited to 'x11')
-rw-r--r--x11/libX11/Makefile12
-rw-r--r--x11/libXext/Makefile10
-rw-r--r--x11/libXt/Makefile10
-rw-r--r--x11/modular-xorg-server/Makefile11
-rw-r--r--x11/xdm/Makefile10
-rw-r--r--x11/xf86-video-sis/Makefile10
-rw-r--r--x11/xinit/Makefile12
7 files changed, 21 insertions, 54 deletions
diff --git a/x11/libX11/Makefile b/x11/libX11/Makefile
index aad0e2bd01c..ca088a0962d 100644
--- a/x11/libX11/Makefile
+++ b/x11/libX11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2013/06/04 07:57:13 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2013/06/13 22:30:41 joerg Exp $
DISTNAME= libX11-1.6.0
CATEGORIES= x11 devel
@@ -35,14 +35,8 @@ LDFLAGS.MirBSD+= -pthread
BUILDLINK_API_DEPENDS.libxcb+=libxcb>=1.8.1
-.include "../../mk/compiler.mk"
-
-.if !empty(PKGSRC_COMPILER:Mclang)
-BUILD_DEPENDS+= ucpp-[0-9]*:../../devel/ucpp
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/ucpp -t -c90 -Uunix"
-.elif empty(PKGSRC_COMPILER:Mgcc)
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
-.endif
+BUILD_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
diff --git a/x11/libXext/Makefile b/x11/libXext/Makefile
index 91acbf8154e..94704852bf9 100644
--- a/x11/libXext/Makefile
+++ b/x11/libXext/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2013/06/01 06:50:27 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2013/06/13 22:30:41 joerg Exp $
DISTNAME= libXext-1.3.2
CATEGORIES= x11 devel
@@ -25,12 +25,8 @@ CONFIGURE_ARGS+= --disable-malloc0returnsnull
.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-BUILD_DEPENDS+= ucpp-[0-9]*:../../devel/ucpp
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/ucpp -t -c90 -Uunix"
-.elif empty(PKGSRC_COMPILER:Mgcc)
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
-.endif
+BUILD_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
.include "../../meta-pkgs/modular-xorg/hacks.mk"
diff --git a/x11/libXt/Makefile b/x11/libXt/Makefile
index fc3b5cf731c..44d58ac6968 100644
--- a/x11/libXt/Makefile
+++ b/x11/libXt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2013/05/31 08:27:17 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2013/06/13 22:30:41 joerg Exp $
DISTNAME= libXt-1.1.4
CATEGORIES= x11 devel
@@ -34,12 +34,8 @@ CPPFLAGS.OSF1+= -pthread # Required by compiler if including pthread.h
.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-BUILD_DEPENDS+= ucpp-[0-9]*:../../devel/ucpp
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/ucpp -t -c90 -Uunix"
-.elif empty(PKGSRC_COMPILER:Mgcc)
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
-.endif
+BUILD_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libICE/buildlink3.mk"
diff --git a/x11/modular-xorg-server/Makefile b/x11/modular-xorg-server/Makefile
index 8ed67dbc0bf..c4a71eee500 100644
--- a/x11/modular-xorg-server/Makefile
+++ b/x11/modular-xorg-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2013/06/04 22:17:28 tron Exp $
+# $NetBSD: Makefile,v 1.79 2013/06/13 22:30:41 joerg Exp $
#
DISTNAME= xorg-server-1.12.4
@@ -125,13 +125,8 @@ BUILDLINK_API_DEPENDS.renderproto+= renderproto>=0.11
BUILDLINK_API_DEPENDS.xf86dgaproto+= xf86dgaproto>=2.0.3
BUILDLINK_API_DEPENDS.xf86driproto+= xf86driproto>=2.1.0
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-BUILD_DEPENDS+= ucpp-[0-9]*:../../devel/ucpp
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/ucpp -t -c90 -Uunix"
-.elif empty(PKGSRC_COMPILER:Mgcc)
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
-.endif
+BUILD_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
.include "options.mk"
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile
index d47bba8db32..8786a4d1b7e 100644
--- a/x11/xdm/Makefile
+++ b/x11/xdm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2013/06/06 12:55:23 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2013/06/13 22:30:41 joerg Exp $
DISTNAME= xdm-1.1.11
PKGREVISION= 4
@@ -48,12 +48,8 @@ OWN_DIRS_PERMS+= ${VARBASE}/lib/xdm \
CFLAGS+= -fno-strict-aliasing
.endif
-.if !empty(PKGSRC_COMPILER:Mclang)
-BUILD_DEPENDS+= ucpp-[0-9]*:../../devel/ucpp
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/ucpp -t -c90 -Uunix"
-.elif empty(PKGSRC_COMPILER:Mgcc)
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
-.endif
+BUILD_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --with-random-device=/dev/urandom
diff --git a/x11/xf86-video-sis/Makefile b/x11/xf86-video-sis/Makefile
index a5a09910b82..6ffe10bbe17 100644
--- a/x11/xf86-video-sis/Makefile
+++ b/x11/xf86-video-sis/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2013/05/16 06:27:55 richard Exp $
+# $NetBSD: Makefile,v 1.16 2013/06/13 22:30:41 joerg Exp $
#
DISTNAME= xf86-video-sis-0.10.7
@@ -18,12 +18,8 @@ USE_TOOLS+= pkg-config
.include "../../mk/bsd.prefs.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-BUILD_DEPENDS+= ucpp-[0-9]*:../../devel/ucpp
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/ucpp -t -c90 -Uunix"
-.elif empty(PKGSRC_COMPILER:Mgcc)
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
-.endif
+BUILD_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
.if ${OPSYS} == "SunOS"
CONFIGURE_ENV+= DRIVER_MAN_SUFFIX=4
diff --git a/x11/xinit/Makefile b/x11/xinit/Makefile
index c865862d809..b8bb4a8ee8c 100644
--- a/x11/xinit/Makefile
+++ b/x11/xinit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2012/10/29 05:07:12 asau Exp $
+# $NetBSD: Makefile,v 1.18 2013/06/13 22:30:41 joerg Exp $
#
DISTNAME= xinit-1.3.2
@@ -15,14 +15,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-xinit=${PREFIX}/bin/xinit
USE_TOOLS+= pkg-config xauth:run
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-BUILD_DEPENDS+= ucpp-[0-9]*:../../devel/ucpp
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/ucpp -t -c90 -Uunix"
-.elif empty(PKGSRC_COMPILER:Mgcc)
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
-.endif
+BUILD_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
.include "../../x11/libX11/buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"