diff options
author | joerg <joerg> | 2012-04-17 17:53:13 +0000 |
---|---|---|
committer | joerg <joerg> | 2012-04-17 17:53:13 +0000 |
commit | 7640d63293205949a908293c01ced6c960b69d84 (patch) | |
tree | dd2b91cac23c5afb094d1b19a8902b1d74927bb0 /x11/xdm/Makefile | |
parent | a32dbcb9e5e256dc4c2a73e69c1a7514f8932a9a (diff) | |
download | pkgsrc-7640d63293205949a908293c01ced6c960b69d84.tar.gz |
Use ucpp with clang
Diffstat (limited to 'x11/xdm/Makefile')
-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 |