summaryrefslogtreecommitdiffstats
path: root/x11-servers
diff options
context:
space:
mode:
authorzeising <zeising@FreeBSD.org>2012-07-29 18:26:00 +0000
committerzeising <zeising@FreeBSD.org>2012-07-29 18:26:00 +0000
commit5af749d5c82013c0b838b21891aa1ed45c1d33a5 (patch)
tree5ee8fd1ef51fc559a9ef5cca57a05abf4d5e8a58 /x11-servers
parent4546b96d4e37d1baa348cc3b3f8bf62ed908ca0a (diff)
downloadFreeBSD-ports-5af749d5c82013c0b838b21891aa1ed45c1d33a5.zip
FreeBSD-ports-5af749d5c82013c0b838b21891aa1ed45c1d33a5.tar.gz
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
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/xorg-server/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile
index 2e35ac8..9ceebe0 100644
--- a/x11-servers/xorg-server/Makefile
+++ b/x11-servers/xorg-server/Makefile
@@ -148,6 +148,10 @@ pre-everything::
@${ECHO_MSG} "xorg-server_UNSET=SUID in /etc/make.conf."
.endif
+post-patch:
+ @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' \
+ ${WRKSRC}/configure
+
.if defined(WITH_NEW_XORG)
post-install:
@${MKDIR} ${PREFIX}/share/X11/xorg.conf.d
OpenPOWER on IntegriCloud