Check for clang correctly
This commit is contained in:
parent
5ea23d797f
commit
6d0c20c401
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289337
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user