diff options
author | joerg <joerg@pkgsrc.org> | 2012-04-17 17:53:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-04-17 17:53:13 +0000 |
commit | 8b00c9a2dc569807bbe4ec32d917a6ab43eaf629 (patch) | |
tree | dd2b91cac23c5afb094d1b19a8902b1d74927bb0 /x11 | |
parent | bad8be49eb999b48fe3569e399c0087a2be9464c (diff) | |
download | pkgsrc-8b00c9a2dc569807bbe4ec32d917a6ab43eaf629.tar.gz |
Use ucpp with clang
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xdm/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile index 4a0687e34a0..92fd9310ed3 100644 --- a/x11/xdm/Makefile +++ b/x11/xdm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2011/11/09 18:28:40 cheusov Exp $ +# $NetBSD: Makefile,v 1.17 2012/04/17 17:53:13 joerg Exp $ DISTNAME= xdm-1.1.11 CATEGORIES= x11 @@ -35,7 +35,10 @@ OWN_DIRS_PERMS+= ${VARBASE}/lib/xdm \ CFLAGS+= -fno-strict-aliasing .endif -.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 |