summaryrefslogtreecommitdiff
path: root/x11-toolkits/libXt
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2012-07-29 18:26:00 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2012-07-29 18:26:00 +0000
commit7761aefad2158283f2753be8926f01f87d7876a8 (patch)
tree5ee8fd1ef51fc559a9ef5cca57a05abf4d5e8a58 /x11-toolkits/libXt
parentUpdate to 2.1.1 . (diff)
Fix the build of xorg related ports when the base system is compiled with
clang as system compiler and cpp is clang cpp (as opposed to GNU cpp). This is done by removing the configure test for cpp completely. Using clang cpp will make some manual pages as well as some scripts get slightly wierd whitespace formatting. However, it does not affect the function of the scripts or the instructions in the manual pages. PR: ports/166373 Submitted by: Jakub Lach <jakub_lach@mailplus.pl> (PR) Patch by: me (with ideas from PR and mailing list) Tested by: Jakub Lach <jakub_lach@mailplus.pl>, me Approved by: kwm (mentor) Obtained from: xorg staging area
Notes
Notes: svn path=/head/; revision=301687
Diffstat (limited to 'x11-toolkits/libXt')
-rw-r--r--x11-toolkits/libXt/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-toolkits/libXt/Makefile b/x11-toolkits/libXt/Makefile
index 0bfe440dec05..129c4d172d38 100644
--- a/x11-toolkits/libXt/Makefile
+++ b/x11-toolkits/libXt/Makefile
@@ -285,4 +285,8 @@ MAN3= MenuPopdown.3 \
XtWindowOfObject.3 \
XtWindowToWidget.3
+post-patch:
+ @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' \
+ ${WRKSRC}/configure
+
.include <bsd.port.mk>