aboutsummaryrefslogtreecommitdiff
path: root/x11/xinit
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/xinit
parent228cdb0c0b5844ac0aa7fa9d07eae943d5312a12 (diff)
downloadports-7761aefad2158283f2753be8926f01f87d7876a8.tar.gz
ports-7761aefad2158283f2753be8926f01f87d7876a8.zip
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/xinit')
-rw-r--r--x11/xinit/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11/xinit/Makefile b/x11/xinit/Makefile
index 3bf4fc47fc78..52d388fe3d53 100644
--- a/x11/xinit/Makefile
+++ b/x11/xinit/Makefile
@@ -24,6 +24,7 @@ PLIST_DIRS= lib/X11/xinit
MAN1= startx.1 xinit.1
post-patch:
+ @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|hexdump|/usr/bin/hexdump|' ${WRKSRC}/startx.cpp
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/man/xinit.man