aboutsummaryrefslogtreecommitdiff
path: root/x11/xorg-cf-files
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xorg-cf-files')
-rw-r--r--x11/xorg-cf-files/Makefile2
1 files changed, 1 insertions, 1 deletions
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