aboutsummaryrefslogtreecommitdiff
path: root/x11/libX11
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/libX11
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/libX11')
-rw-r--r--x11/libX11/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11/libX11/Makefile b/x11/libX11/Makefile
index 76826561eb99..7b1f2faf3c34 100644
--- a/x11/libX11/Makefile
+++ b/x11/libX11/Makefile
@@ -22,6 +22,7 @@ RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/xcb.pc:${PORTSDIR}/x11/libxcb
XORG_CAT= lib
USE_XORG= bigreqsproto xau xcmiscproto xdmcp xextproto xtrans \
kbproto:both inputproto xf86bigfontproto xproto:both
+
CONFIGURE_ARGS+= --datadir=${PREFIX}/lib \
--without-xmlto \
--disable-specs
@@ -30,6 +31,8 @@ CONFIGURE_ENV+= ac_cv_path_PS2PDF=""
.include "${.CURDIR}/manpages"
post-patch:
+ @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' \
+ ${WRKSRC}/configure
@${REINPLACE_CMD} '/^install-data-am:/,/^$$/ \
s/install-specDATA//' ${WRKSRC}/nls/Makefile.in