aboutsummaryrefslogtreecommitdiff
path: root/x11/xorg-cf-files
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-01-16 16:45:00 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-01-16 16:45:00 +0000
commit6d0c20c4014839adee2ff19bbb52ccec71682a26 (patch)
tree9036b3918aee04a6a0220d128b9996a2b007c806 /x11/xorg-cf-files
parent5ea23d797f47c1da6903afa878ba22f4a7e5a8d5 (diff)
downloadports-6d0c20c4014839adee2ff19bbb52ccec71682a26.tar.gz
ports-6d0c20c4014839adee2ff19bbb52ccec71682a26.zip
Notes
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