aboutsummaryrefslogtreecommitdiffstats
path: root/x11-drivers
diff options
context:
space:
mode:
authorzeising <zeising@FreeBSD.org>2012-07-30 02:26:00 +0800
committerzeising <zeising@FreeBSD.org>2012-07-30 02:26:00 +0800
commit5af749d5c82013c0b838b21891aa1ed45c1d33a5 (patch)
tree5ee8fd1ef51fc559a9ef5cca57a05abf4d5e8a58 /x11-drivers
parent4546b96d4e37d1baa348cc3b3f8bf62ed908ca0a (diff)
downloadfreebsd-ports-gnome-5af749d5c82013c0b838b21891aa1ed45c1d33a5.tar.gz
freebsd-ports-gnome-5af749d5c82013c0b838b21891aa1ed45c1d33a5.tar.zst
freebsd-ports-gnome-5af749d5c82013c0b838b21891aa1ed45c1d33a5.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
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-sis/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-sis/Makefile b/x11-drivers/xf86-video-sis/Makefile
index 2641c7ceb699..16f7899e94cb 100644
--- a/x11-drivers/xf86-video-sis/Makefile
+++ b/x11-drivers/xf86-video-sis/Makefile
@@ -20,4 +20,8 @@ XORG_CAT= driver
USE_XORG= xf86dgaproto xf86driproto xineramaproto videoproto xf86miscproto xextproto glproto
MAN4= sis.4x
+post-patch:
+ @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' \
+ ${WRKSRC}/configure
+
.include <bsd.port.mk>