diff options
author | joerg <joerg> | 2013-06-13 22:30:41 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-06-13 22:30:41 +0000 |
commit | 9b4f13689c0503cf58d27b26a8e755bb44058830 (patch) | |
tree | 3ca9709712517d5565360906f3d54c7fe2b7b747 /x11/libX11/Makefile | |
parent | b22f1d6ea5b5782eddc1d65891737c87a68fabe9 (diff) | |
download | pkgsrc-9b4f13689c0503cf58d27b26a8e755bb44058830.tar.gz |
Consistently use devel/tradcpp as preprocessor.
Diffstat (limited to 'x11/libX11/Makefile')
-rw-r--r-- | x11/libX11/Makefile | 12 |
1 files changed, 3 insertions, 9 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} |