diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2011-12-02 16:20:10 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2011-12-02 16:20:10 +0000 |
commit | 56d8be2b8dd474c1db43b66586016e6d23fb75d4 (patch) | |
tree | 07cbe601fca0fe8601ee3f00aa0573c432d95e11 | |
parent | 42ca1cf3d22a0283f6fd0e185ec2240be3917713 (diff) |
Notes
-rw-r--r-- | x11/xorg-cf-files/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/xorg-cf-files/Makefile b/x11/xorg-cf-files/Makefile index deec23b39247..a126070ddd6a 100644 --- a/x11/xorg-cf-files/Makefile +++ b/x11/xorg-cf-files/Makefile @@ -16,8 +16,14 @@ LICENSE= MIT XORG_CAT= util +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} 's|\(define ExtraXaw[^ ]*\) [$$].*|\1 /**/|' \ ${WRKSRC}/X11.tmpl +.if defined(CC) && ${CC} == "clang" + ${REINPLACE_CMD} -e 's|/usr/bin/cpp|${LOCALBASE}/bin/ucpp|' \ + -e 's|-traditional|-s|' ${WRKSRC}/FreeBSD.cf +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |