From 4753447e03b651c687ee8699aab3d0f0492b5294 Mon Sep 17 00:00:00 2001 From: eadler Date: Mon, 16 Jan 2012 16:45:00 +0000 Subject: Check for clang correctly --- x11/xorg-cf-files/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'x11') diff --git a/x11/xorg-cf-files/Makefile b/x11/xorg-cf-files/Makefile index a126070ddd6a..fdeae0346d8d 100644 --- a/x11/xorg-cf-files/Makefile +++ b/x11/xorg-cf-files/Makefile @@ -21,7 +21,7 @@ XORG_CAT= util post-patch: @${REINPLACE_CMD} 's|\(define ExtraXaw[^ ]*\) [$$].*|\1 /**/|' \ ${WRKSRC}/X11.tmpl -.if defined(CC) && ${CC} == "clang" +.if defined(CC) && ${CC:T:M*clang*} == "clang" ${REINPLACE_CMD} -e 's|/usr/bin/cpp|${LOCALBASE}/bin/ucpp|' \ -e 's|-traditional|-s|' ${WRKSRC}/FreeBSD.cf .endif -- cgit