diff options
Diffstat (limited to 'x11/modular-xorg-server')
-rw-r--r-- | x11/modular-xorg-server/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/modular-xorg-server/Makefile b/x11/modular-xorg-server/Makefile index 0e93d576528..fa69656c496 100644 --- a/x11/modular-xorg-server/Makefile +++ b/x11/modular-xorg-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.67 2012/03/13 14:13:52 fhajny Exp $ +# $NetBSD: Makefile,v 1.68 2012/04/17 17:52:01 joerg Exp $ # DISTNAME= xorg-server-1.6.5 @@ -121,7 +121,10 @@ BUILDLINK_API_DEPENDS.xf86dgaproto+= xf86dgaproto>=2.0.3 BUILDLINK_API_DEPENDS.xf86driproto+= xf86driproto>=2.0.4 .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 |