diff options
author | joerg <joerg@pkgsrc.org> | 2012-04-17 17:52:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-04-17 17:52:29 +0000 |
commit | 668d04ab8327bb988318a312a0a4f53ebf0c0bed (patch) | |
tree | 0c5b972a6a53c0149c8fe37f9f32f41f4578f865 /x11/xinit | |
parent | f26d7a788d73cba2c7ef82bb44b3cc35ccbfc782 (diff) | |
download | pkgsrc-668d04ab8327bb988318a312a0a4f53ebf0c0bed.tar.gz |
Use ucpp for clang
Diffstat (limited to 'x11/xinit')
-rw-r--r-- | x11/xinit/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/xinit/Makefile b/x11/xinit/Makefile index 6e946cd4596..3d11d236bcf 100644 --- a/x11/xinit/Makefile +++ b/x11/xinit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2010/09/10 19:39:29 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2012/04/17 17:52:29 joerg Exp $ # DISTNAME= xinit-1.2.1 @@ -18,7 +18,10 @@ CONFIGURE_ARGS+= --with-xinit=${PREFIX}/bin/xinit USE_TOOLS+= pkg-config xauth:run .include "../../mk/compiler.mk" -.if empty(PKGSRC_COMPILER:Mgcc) +.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 |