diff options
author | joerg <joerg@pkgsrc.org> | 2011-07-19 13:59:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-07-19 13:59:45 +0000 |
commit | 4d14310259842ab8ef4aec593be5c9032b88f263 (patch) | |
tree | f9d6f88b855890ffeaf388eac9d8bd6ff5ef8c75 /x11/libXext | |
parent | 2b495d977d4f855a105af6b45989042849d65877 (diff) | |
download | pkgsrc-4d14310259842ab8ef4aec593be5c9032b88f263.tar.gz |
When building with clang, pull in devel/ucpp for the man page
processing. XXX should be fixed upstream to use sed
Diffstat (limited to 'x11/libXext')
-rw-r--r-- | x11/libXext/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/x11/libXext/Makefile b/x11/libXext/Makefile index 056375a1de5..106909954e2 100644 --- a/x11/libXext/Makefile +++ b/x11/libXext/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2010/04/09 08:50:17 tnn Exp $ +# $NetBSD: Makefile,v 1.12 2011/07/19 14:00:04 joerg Exp $ # DISTNAME= libXext-1.1.1 @@ -26,7 +26,11 @@ CONFIGURE_ARGS+= --disable-malloc0returnsnull .endif .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 |